fix(crond): Problems with Docker, Alpine and Crond (it doesn't start)

master
Olivier DOSSMANN 2022-10-10 21:27:12 +02:00
parent 40c0654a08
commit 28cadc2cf4
4 changed files with 3 additions and 3 deletions

View File

@ -24,4 +24,4 @@ WORKDIR /opt/rawdog
VOLUME /opt/rawdog/public
ENTRYPOINT ["/opt/rawdog/startup.sh"]
ENTRYPOINT ["/opt/rawdog/startup"]

View File

@ -1 +1 @@
0 4 * * * /opt/rawdog/startup.sh > /dev/stdout
0 4 * * * /opt/rawdog/startup

View File

@ -9,7 +9,7 @@ services:
image: rawdog:0.1
restart: always
entrypoint: /usr/sbin/crond
command: ["-f", "-l", "2"]
command: ["-f", "-l", "2", "-L", "/dev/stdout"]
volumes:
- ${PWD}/public:/opt/rawdog/public:rw
environment:

View File