mirror of
https://github.com/fccview/cronmaster.git
synced 2025-12-23 22:18:20 -05:00
25 lines
614 B
YAML
25 lines
614 B
YAML
# 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
|