version: '3.8' services: reading-tracker: build: . ports: - "8080:80" volumes: # Mount data directory for persistent JSON storage - reading-data:/app/data environment: - NODE_ENV=production - DATA_DIR=/app/data restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s volumes: reading-data: driver: local