bugfix paheko
This commit is contained in:
parent
5bf01b77db
commit
588ab341bc
@ -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
|
||||
|
@ -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}`)"
|
||||
|
Loading…
Reference in New Issue
Block a user