fix: 修复 docker-compose.yml 格式错误,分离 volumes 和 services 配置

This commit is contained in:
爽哒哒
2026-03-19 00:20:57 +08:00
parent 3791d37d7f
commit ba48894378

View File

@@ -78,9 +78,6 @@ services:
depends_on:
scoring-backend:
condition: service_healthy
volumes:
scoring_db_data:
networks:
- scoring_network
healthcheck:
@@ -107,6 +104,9 @@ volumes:
profiles:
- ssl # 只在需要 SSL 时启动
volumes:
scoring_db_data:
networks:
scoring_network:
driver: bridge