add
This commit is contained in:
@@ -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
|
||||
|
||||
# 全局数据卷
|
||||
|
||||
Reference in New Issue
Block a user