2
0

feat: gateway部署调整

This commit is contained in:
caiyuchao
2025-04-17 20:58:33 +08:00
parent 637d4da735
commit ddc94e5a5d
3 changed files with 45 additions and 6 deletions

View File

@@ -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