2
0

feat: support file module

This commit is contained in:
zhangsz
2025-01-08 11:36:03 +08:00
parent 8cfa313ef3
commit ba1b8af66a
5 changed files with 32 additions and 5 deletions

View File

@@ -208,6 +208,31 @@ services:
- WFC_USER_PORT=${WFC_USER_PORT}
restart: ${RESTART_OPTION}
wfc-modules-file:
image: wfc-java:jre8
container_name: wfc-modules-file
ports:
- "${WFC_FILE_PORT}:${WFC_FILE_PORT}"
networks:
- wfc-be-network
volumes:
- ./wfc/modules/file/jar/wfc-modules-file.jar:/opt/wfc/app.jar
- ./wfc/modules/file/upload:/opt/wfc/upload
- ./wfc/modules/file/logs/:/opt/wfc/logs/
depends_on:
wfc-auth:
condition: service_healthy
wfc-gateway:
condition: service_healthy
environment:
- NACOS_PROFILE_NAME=${NACOS_PROFILE_NAME}
- NACOS_NAME_SPACE=${NACOS_NAME_SPACE}
- NACOS_SERVER_NAME=${NACOS_SERVER_NAME}
- NACOS_SERVER_IP=${NACOS_SERVER_IP}
- NACOS_SERVER_PORT=${NACOS_SERVER_PORT}
- WFC_FILE_PORT=${WFC_FILE_PORT}
restart: ${RESTART_OPTION}
wfc-modules-job:
image: wfc-java:jre8
container_name: wfc-modules-job

View File

@@ -14,6 +14,7 @@ WFC_SERVER_PORT=80
NACOS_SERVER_PORT=8848
GATEWAY_SERVER_PORT=8080
AUTH_SERVER_PORT=8081
WFC_FILE_PORT=9201
WFC_JOB_PORT=9203
WFC_PAYMENT_PORT=9204
WFC_SYSTEM_PORT=9205