fix(crond): Problems with Docker, Alpine and Crond (it doesn't start)
This commit is contained in:
parent
40c0654a08
commit
28cadc2cf4
@ -24,4 +24,4 @@ WORKDIR /opt/rawdog
|
|||||||
|
|
||||||
VOLUME /opt/rawdog/public
|
VOLUME /opt/rawdog/public
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/rawdog/startup.sh"]
|
ENTRYPOINT ["/opt/rawdog/startup"]
|
||||||
|
2
crontabs
2
crontabs
@ -1 +1 @@
|
|||||||
0 4 * * * /opt/rawdog/startup.sh > /dev/stdout
|
0 4 * * * /opt/rawdog/startup
|
||||||
|
@ -9,7 +9,7 @@ services:
|
|||||||
image: rawdog:0.1
|
image: rawdog:0.1
|
||||||
restart: always
|
restart: always
|
||||||
entrypoint: /usr/sbin/crond
|
entrypoint: /usr/sbin/crond
|
||||||
command: ["-f", "-l", "2"]
|
command: ["-f", "-l", "2", "-L", "/dev/stdout"]
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/public:/opt/rawdog/public:rw
|
- ${PWD}/public:/opt/rawdog/public:rw
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user