Add persistent storage volume to Docker configuration

- Mount .storage directory from host to container for data persistence
- Update docker-compose.yml with volumes configuration
- Update README.md with volume documentation
- Ensure bookings and settings persist across container restarts
This commit is contained in:
2025-09-30 19:24:20 +02:00
parent 558ee9cc56
commit 2402afff13
2 changed files with 5 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ services:
env_file:
- .env
restart: unless-stopped
volumes:
- ./.storage:/app/.storage
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
interval: 30s