# For all configuration options, see howto/DOCKER.md services: cronmaster: image: ghcr.io/fccview/cronmaster:latest container_name: cronmaster user: "root" ports: - "40123:3000" environment: - NODE_ENV=production - DOCKER=true - NEXT_PUBLIC_CLOCK_UPDATE_INTERVAL=30000 - AUTH_PASSWORD=very_strong_password - HOST_CRONTAB_USER=root volumes: - /var/run/docker.sock:/var/run/docker.sock - ./scripts:/app/scripts - ./data:/app/data - ./snippets:/app/snippets pid: "host" privileged: true restart: always init: true healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"] interval: 30s timeout: 10s start_period: 30s retries: 3