Files
spelljammer-ships/docker-compose.yml
Bas van Rossem 9ef1199324 chore: add Dockerfile and docker-compose with static file serving
Multi-stage Docker build (web → server → production). Fastify serves
React build in production with SPA fallback. Docker Compose with volume
for SQLite persistence.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 16:30:17 +01:00

22 lines
391 B
YAML

version: "3.8"
services:
spelljammer:
build:
context: .
dockerfile: Dockerfile
container_name: spelljammer-ships
ports:
- "3000:3000"
volumes:
- spelljammer-data:/data
environment:
- NODE_ENV=production
- PORT=3000
- DB_PATH=/data/spelljammer.sqlite
restart: unless-stopped
volumes:
spelljammer-data:
driver: local