fix(crond): Correction du conteneur Docker pour prendre en compte le cron
This commit is contained in:
parent
28cadc2cf4
commit
4995e03c21
@ -20,6 +20,9 @@ ENV TZ=Europe/Paris
|
||||
COPY . /opt/rawdog
|
||||
COPY ./crontabs /etc/crontabs/root
|
||||
|
||||
RUN chown root:root /etc/crontabs/root && \
|
||||
chmod 600 /etc/crontabs/root
|
||||
|
||||
WORKDIR /opt/rawdog
|
||||
|
||||
VOLUME /opt/rawdog/public
|
||||
|
@ -9,7 +9,7 @@ services:
|
||||
image: rawdog:0.1
|
||||
restart: always
|
||||
entrypoint: /usr/sbin/crond
|
||||
command: ["-f", "-l", "2", "-L", "/dev/stdout"]
|
||||
command: ["-f", "-l", "8", "-L", "/dev/stdout"]
|
||||
volumes:
|
||||
- ${PWD}/public:/opt/rawdog/public:rw
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user