25 lines
760 B
YAML
25 lines
760 B
YAML
# Docker Compose for service сronmaster created at Sun Nov 16 12:44:00 PM EET 2025
|
||
# For all configuration options, see howto/DOCKER.md
|
||
services:
|
||
cronmaster:
|
||
image: ghcr.io/fccview/cronmaster:latest
|
||
container_name: cronmaster
|
||
user: "root"
|
||
ports:
|
||
- "${SVC_PORT_1}:3000"
|
||
environment:
|
||
- NODE_ENV=production
|
||
- DOCKER=true
|
||
- NEXT_PUBLIC_CLOCK_UPDATE_INTERVAL=30000
|
||
- AUTH_PASSWORD=${PASSWORD}
|
||
- HOST_CRONTAB_USER=root
|
||
volumes:
|
||
- /var/run/docker.sock:/var/run/docker.sock
|
||
- ${CRONMASTER_DATA_LOCAL_SCRIPTS}:/app/scripts
|
||
- ${CRONMASTER_DATA_LOCAL}:/app/data
|
||
- ${CRONMASTER_DATA_LOCAL_SNIPPETS}:/app/snippets
|
||
pid: "host"
|
||
privileged: true
|
||
restart: always
|
||
init: true
|