services: timetracker: build: . container_name: timetracker restart: unless-stopped ports: - '${PORT:-42523}:3000' environment: - NODE_ENV=production - DATABASE_URL=file:/app/data/timetracker.db - JWT_SECRET=${JWT_SECRET:-change-this-secret-in-production} - PORT=3000 volumes: - timetracker-data:/app/data healthcheck: test: - CMD - wget - -q - --spider - http://localhost:3000/api/auth/me interval: 30s timeout: 10s retries: 3 start_period: 10s volumes: timetracker-data: null networks: {}