dagu
dagu copied to clipboard
dagu server and dagu scheduler to Dockerfile run
there was a problem when discovering the service - the scheduler was not found to start on the server, which exposes the Dockerfile to the inoperability - for this question, how to do so to solve this problem, maybe these are the keys to start, and I did what is wrong, while I wrapped application in supervisor
COPY supervisord.conf /home/dagu/supervisord.conf
apk add --no-cache sudo tzdata supervisor
CMD ["/usr/bin/supervisord", "-c", "/home/dagu/supervisord.conf"]
supervisord.conf
[supervisord]
nodaemon=true
[program:dagu-server]
command=dagu server
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:dagu-scheduler]
command=dagu scheduler
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0