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