refactor: stabilize game, tutor, and analysis flows
This commit is contained in:
@@ -17,17 +17,9 @@ services:
|
||||
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Data Privacy & Imprint Configuration
|
||||
- IMPRINT_URL=${IMPRINT_URL:-}
|
||||
- DATA_PRIVACY_RESPONSIBLE_PERSON=${DATA_PRIVACY_RESPONSIBLE_PERSON:-}
|
||||
|
||||
volumes:
|
||||
# Persist Wikipedia cache to avoid re-fetching on container restart
|
||||
- wikipedia-cache:/app/public/wikipedia
|
||||
# Persist tactical puzzles and downloads (user-generated data)
|
||||
- tactical-fixtures:/app/fixtures
|
||||
- puzzle-downloads:/app/downloads
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3050', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"]
|
||||
interval: 30s
|
||||
@@ -41,11 +33,3 @@ services:
|
||||
networks:
|
||||
chess-tutor-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
wikipedia-cache:
|
||||
driver: local
|
||||
tactical-fixtures:
|
||||
driver: local
|
||||
puzzle-downloads:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user