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 . /opt/rawdog
|
||||||
COPY ./crontabs /etc/crontabs/root
|
COPY ./crontabs /etc/crontabs/root
|
||||||
|
|
||||||
|
RUN chown root:root /etc/crontabs/root && \
|
||||||
|
chmod 600 /etc/crontabs/root
|
||||||
|
|
||||||
WORKDIR /opt/rawdog
|
WORKDIR /opt/rawdog
|
||||||
|
|
||||||
VOLUME /opt/rawdog/public
|
VOLUME /opt/rawdog/public
|
||||||
|
@ -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", "-L", "/dev/stdout"]
|
command: ["-f", "-l", "8", "-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