download script

This commit is contained in:
Stefan
2025-12-15 12:21:34 +01:00
parent 4ef4e2e4f4
commit b36b91cddd
7 changed files with 125 additions and 8 deletions
+7
View File
@@ -24,6 +24,9 @@ services:
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)})"]
@@ -42,3 +45,7 @@ networks:
volumes:
wikipedia-cache:
driver: local
tactical-fixtures:
driver: local
puzzle-downloads:
driver: local