fix(deploy): add integration stack with SELinux-compatible mounts
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 在 msgexchange-v2 根目录 source 本文件;应用可与中间件分机部署。
|
||||
: "${TEST_SERVER_HOST:?请先 export TEST_SERVER_HOST=中间件服务器IP或域名}"
|
||||
export MICRONAUT_ENVIRONMENTS=dev
|
||||
export MSGX_STUBS=false
|
||||
export DATASOURCES_DEFAULT_ENABLED=true
|
||||
export MAILBOX_SHARED_MYSQL_ENABLED=true
|
||||
export MSGX_FLYWAY_ENABLED=true
|
||||
export MSGX_PG_HOST="$TEST_SERVER_HOST"
|
||||
export MSGX_PG_PORT=15432
|
||||
export MSGX_PG_NAME=msgx
|
||||
export MSGX_PG_URL="jdbc:postgresql://$TEST_SERVER_HOST:$MSGX_PG_PORT/$MSGX_PG_NAME"
|
||||
export MSGX_PG_USER=msgx_dev
|
||||
export MSGX_PG_PASSWORD=msgx_dev_pass
|
||||
export MSGX_MAILBOX_HOST="$TEST_SERVER_HOST"
|
||||
export MSGX_MAILBOX_PORT=13306
|
||||
export MSGX_MAILBOX_NAME=cdairport
|
||||
export MSGX_MAILBOX_URL="jdbc:mysql://$TEST_SERVER_HOST:$MSGX_MAILBOX_PORT/$MSGX_MAILBOX_NAME?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&characterEncoding=utf8mb4"
|
||||
export MSGX_MAILBOX_USER=msgx_dev
|
||||
export MSGX_MAILBOX_PASSWORD=msgx_dev_pass
|
||||
export MSGX_KAFKA_HOST="$TEST_SERVER_HOST"
|
||||
export MSGX_KAFKA_PORT=19092
|
||||
export MSGX_KAFKA_SERVERS="$TEST_SERVER_HOST:$MSGX_KAFKA_PORT"
|
||||
Reference in New Issue
Block a user