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