feat: gateway部署调整
This commit is contained in:
1 parent
637d4da735
commit
ddc94e5a5d
3 files changed
+45
-6
No files matched your search
@@ -86,18 +86,22 @@ services:
|
||||
restart: ${RESTART_OPTION}
|
||||
|
||||
wfc-gateway:
|
||||
image: wfc-java:jre8
|
||||
build:
|
||||
context: ./wfc/gateway
|
||||
container_name: wfc-gateway
|
||||
ports:
|
||||
- "${GATEWAY_SERVER_PORT}:${GATEWAY_SERVER_PORT}"
|
||||
networks:
|
||||
- wfc-be-network
|
||||
- wfc-be-network
|
||||
privileged: true
|
||||
volumes:
|
||||
- ./wfc/gateway/jar/wfc-gateway.jar:/opt/wfc/app.jar
|
||||
- ./conf/application-common.yml:/opt/wfc/conf/application-common.yml
|
||||
- ./conf/i18n/:/opt/wfc/conf/i18n
|
||||
- ./wfc/gateway/conf/application.yml:/opt/wfc/conf/application.yml
|
||||
- ./conf/license:/opt/wfc/license
|
||||
- /sbin/dmidecode:/sbin/dmidecode
|
||||
- /dev/mem:/dev/mem
|
||||
depends_on:
|
||||
wfc-redis:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in new issue
Block a user