This commit is contained in:
vipg
2026-02-06 15:46:35 +08:00
parent 978969b271
commit 3e60b85f07

View File

@@ -14,7 +14,7 @@ services:
- ./deploy/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql - ./deploy/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql
- pg_data:/var/lib/postgresql/data - pg_data:/var/lib/postgresql/data
networks: networks:
- monorepo-net - trading-assistant-net
restart: always restart: always
# 公共Redis # 公共Redis
@@ -28,7 +28,7 @@ services:
- redis_data:/data - redis_data:/data
command: redis-server /etc/redis/redis.conf command: redis-server /etc/redis/redis.conf
networks: networks:
- monorepo-net - trading-assistant-net
restart: always restart: always
# 【业务服务模板】新增业务时复制以下块修改 # 【业务服务模板】新增业务时复制以下块修改
@@ -46,7 +46,7 @@ services:
# volumes: # volumes:
# - ./logs/user:/app/logs # - ./logs/user:/app/logs
# networks: # networks:
# - monorepo-net # - trading-assistant-net
# restart: always # restart: always
# depends_on: # depends_on:
# - postgres # - postgres
@@ -59,7 +59,7 @@ services:
# 全局网络 # 全局网络
networks: networks:
monorepo-net: trading-assistant-net:
driver: bridge driver: bridge
# 全局数据卷 # 全局数据卷