shell脚本加入变量

shome=$(cd `dirname $0`; pwd)
echo ${shome}

export USER_CAPTCHA_ENABLED=false

# 指定dev环境
export SPRING_PROFILES_ACTIVE=dev

export TENANT_ENABLED=true
export TENANT_DATASOURCE_SINGLE=true
export TENANT_DATASOURCE_JDBC=true

export AUTHORIZATION_ENABLE=true
export AUTHORIZATION_PERMISSION_FILTER_ENABLE=true

# 流程待办优化是否启用
export AUTO_SYNC_TASK_PENDING_OPEN=false
export BPM_TASK_PENDDING_OPTIMIZE_ENABLED=false
export FORM_BUILD_JACKSON=true

export CONTEXT_USER_ENABLED=true
export CONTEXT_PARTY_ENABLED=true

export CONTEXT_BO_ENABLED=true
export CONTEXT_FORM_ENABLED=true
export CONTEXT_DATATEMPLATE_ENABLED=true
export CONTEXT_AUTH_APP_API_ENABLED=false

export CONTEXT_DICTIONARY_ENABLED=true
export CONTEXT_DATATEMPLATE_DATA_BUILDER_ENABLED=true
export CONTEXT_ROLE_RESOURCES_ENABLED=true

export SOCKET_ENABLED=false
export ASYNC_BUSINESS_ENABLED=false
export ASYNC_SCHEME_ENABLED=false
export ASYNC_DATA_TEMPLATE_EXPORT_DATA_ENABLED=false

export ELASTICSEARCH_ENABLED=true

export FILE_TRACKER_SERVER=192.168.3.245:22122

export BASE_URL=http://192.168.3.245

export EXCEPTION_STATE_ANALYSIS_ENABLED=true

export SPRING_CLOUD_CONSUL_PORT=34500
export CONSUL_SERVICEURL_DEFAULTZONE=http://192.168.3.245:${SPRING_CLOUD_CONSUL_PORT}
export SPRING_CLOUD_CONSUL_HOST=192.168.3.245

export SPRING_RABBITMQ_HOST=192.168.3.245
export SPRING_RABBITMQ_PORT=5682
export SPRING_RABBITMQ_USERNAME=v358
export SPRING_RABBITMQ_PASSWORD=v358
export SPRING_RABBITMQ_VIRTUAL_HOST=/v358

export SPRING_REDIS_DATABASE=4
export SPRING_REDIS_HOST=192.168.3.245
export SPRING_REDIS_PORT=6389

sh ${shome}/start.gw.sh

sh ${shome}/start.oauth.sh

sh ${shome}/start.platform.sh

sh ${shome}/start.business.sh
作者:黄春艳  创建时间:2024-11-21 21:15
最后编辑:黄春艳  更新时间:2024-11-21 21:18