2
0

feat: update build

This commit is contained in:
simonzhangsz
2024-12-12 21:20:29 +08:00
parent 60a8af09be
commit 0417a1477e
4 changed files with 46 additions and 54 deletions

View File

@@ -16,7 +16,7 @@ services:
- "9849:9849"
depends_on:
- wfc-mysql
restart: always
#restart: always
wfc-mysql:
container_name: wfc-mysql
image: mysql:5.7
@@ -40,7 +40,7 @@ services:
environment:
MYSQL_DATABASE: 'wfc_system_db'
MYSQL_ROOT_PASSWORD: 123456
restart: always
#restart: always
wfc-redis:
container_name: wfc-redis
image: redis
@@ -52,7 +52,7 @@ services:
- ./redis/conf/redis.conf:/home/wfc/redis/redis.conf
- ./redis/data:/data
command: redis-server /home/wfc/redis/redis.conf
restart: always
#restart: always
wfc-gateway:
container_name: wfc-gateway
build:
@@ -64,7 +64,7 @@ services:
- wfc-redis
links:
- wfc-redis
restart: always
#restart: always
wfc-auth:
container_name: wfc-auth
build:
@@ -76,7 +76,7 @@ services:
- wfc-redis
links:
- wfc-redis
restart: always
#restart: always
wfc-modules-system:
container_name: wfc-modules-system
build:
@@ -90,7 +90,7 @@ services:
links:
- wfc-redis
- wfc-mysql
restart: always
#restart: always
wfc-modules-user:
container_name: wfc-modules-user
build:
@@ -104,7 +104,7 @@ services:
links:
- wfc-redis
- wfc-mysql
restart: always
#restart: always
wfc-modules-gen:
container_name: wfc-modules-gen
build:
@@ -116,7 +116,7 @@ services:
- wfc-mysql
links:
- wfc-mysql
restart: always
#restart: always
wfc-modules-job:
container_name: wfc-modules-job
build:
@@ -128,7 +128,7 @@ services:
- wfc-mysql
links:
- wfc-mysql
restart: always
#restart: always
wfc-modules-file:
container_name: wfc-modules-file
build:
@@ -138,7 +138,7 @@ services:
- "9300:9300"
volumes:
- ./wfc/upload:/home/wfc/upload
restart: always
#restart: always
wfc-modules-payment:
container_name: wfc-modules-payment
build:
@@ -150,7 +150,7 @@ services:
- wfc-mysql
links:
- wfc-mysql
restart: always
#restart: always
wfc-visual-monitor:
container_name: wfc-visual-monitor
build:
@@ -158,7 +158,7 @@ services:
dockerfile: dockerfile
ports:
- "9100:9100"
restart: always
#restart: always
wfc-nginx:
container_name: wfc-nginx
image: nginx
@@ -175,4 +175,4 @@ services:
- wfc-gateway
links:
- wfc-gateway
restart: always
#restart: always