Skip to content

Commit

Permalink
Use separate ENV statements for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
aspettl committed Oct 10, 2024
1 parent efde14d commit d486141
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integrations/docker-mailserver-configreload/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ RUN pip install jinjanator
COPY bin/ /usr/local/bin/
COPY templates/ /usr/local/share/templates/

ENV WEBHOOK_TOKEN=some-random-long-string \
WEBHOOK_LOG=/var/log/webhook/access.log \
CONFIG_DIR=/config \
CONFIG_TMP=/tmp/config \
MAILADMIN_URL=https://mailadmin.example.com \
MAILADMIN_API_TOKEN=some-secret-token
ENV WEBHOOK_TOKEN=some-random-long-string
ENV WEBHOOK_LOG=/var/log/webhook/access.log
ENV CONFIG_DIR=/config
ENV CONFIG_TMP=/tmp/config
ENV MAILADMIN_URL=https://mailadmin.example.com
ENV MAILADMIN_API_TOKEN=some-secret-token

CMD ["/usr/local/bin/entrypoint.sh"]

0 comments on commit d486141

Please sign in to comment.