From 588ab341bc33ee99e863cc631a270929abe4c6e7 Mon Sep 17 00:00:00 2001 From: Fanch Date: Thu, 8 Aug 2024 15:55:19 +0200 Subject: [PATCH] bugfix paheko --- dockers/paheko/Dockerfile | 2 +- dockers/paheko/docker-compose.yml.dist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dockers/paheko/Dockerfile b/dockers/paheko/Dockerfile index 4bcf35c..3b707df 100644 --- a/dockers/paheko/Dockerfile +++ b/dockers/paheko/Dockerfile @@ -13,7 +13,7 @@ COPY "dockers/paheko/config/facturation.tar.gz" ${PAHEKO_DIR}/data/plugins/ RUN mkdir ${PAHEKO_DIR}/data/plugins/facturation && tar zxvf ${PAHEKO_DIR}/data/plugins/facturation.tar.gz -C ${PAHEKO_DIR}/data/plugins/facturation && rm ${PAHEKO_DIR}/data/plugins/facturation.tar.gz #install cron pour factory_cron.sh -RUN apt-get install cron joe rsyslog -y +RUN apt-get update && apt-get install cron joe rsyslog -y RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf RUN echo "0 1 * * * cd ${PAHEKO_DIR} && ${PAHEKO_DIR}/factory_cron.sh" >> /var/spool/cron/crontabs/root RUN echo "* * * * * cd ${PAHEKO_DIR} && ${PAHEKO_DIR}/factory_cron_emails.sh" >> /var/spool/cron/crontabs/root diff --git a/dockers/paheko/docker-compose.yml.dist b/dockers/paheko/docker-compose.yml.dist index f3a43c1..4f772d9 100644 --- a/dockers/paheko/docker-compose.yml.dist +++ b/dockers/paheko/docker-compose.yml.dist @@ -20,6 +20,7 @@ services: external_links: - ${smtpServName}:${smtpHost}.${domain} labels: + - "traefik.docker.network=pahekoNet" - "traefik.enable=true" - "traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}" - "traefik.http.routers.${pahekoServName}.rule=HostRegexp(`{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}`)"