forked from quant-speed-AI/Scoring-System
fix: 修复 docker-compose.yml 格式错误,分离 volumes 和 services 配置
This commit is contained in:
@@ -78,9 +78,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
scoring-backend:
|
scoring-backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
volumes:
|
|
||||||
scoring_db_data:
|
|
||||||
networks:
|
networks:
|
||||||
- scoring_network
|
- scoring_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -107,6 +104,9 @@ volumes:
|
|||||||
profiles:
|
profiles:
|
||||||
- ssl # 只在需要 SSL 时启动
|
- ssl # 只在需要 SSL 时启动
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
scoring_db_data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
scoring_network:
|
scoring_network:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|||||||
Reference in New Issue
Block a user