add name volume and update error handling

This commit is contained in:
2025-08-17 15:52:52 +01:00
parent 65f478e675
commit 7aac334b55
4 changed files with 8 additions and 7 deletions

View File

@@ -20,6 +20,9 @@ services:
# Select host port via APP_PORT env var; default 3000
- "${APP_PORT:-3000}:3000"
volumes:
# Persist local cache JSON files
- ./data:/app/data
# Persist cache JSON files using a named volume
- magikarp-data:/app/data
restart: unless-stopped
volumes:
magikarp-data: