Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Move templates and secrets into src
Browse files Browse the repository at this point in the history
  • Loading branch information
felddy committed May 30, 2019
1 parent a031cf0 commit 35f4070
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
args:
- --allow-missing-credentials
- id: detect-private-key
exclude: secrets/privkey.pem
exclude: src/secrets/privkey.pem
- id: end-of-file-fixer
exclude: files/(issue|motd)
- id: mixed-line-ending
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN mv /etc/postfix/master.cf /etc/postfix/master.cf.orig
RUN mv /etc/default/opendkim /etc/default/opendkim.orig
RUN mv /etc/default/opendmarc /etc/default/opendmarc.orig

COPY ./templates ./templates/
COPY ./src/templates ./templates/
COPY ./src/docker-entrypoint.sh .

VOLUME ["/var/log", "/var/spool/postfix"]
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ version: "3.7"

secrets:
fullchain_pem:
file: ./secrets/fullchain.pem
file: ./src/secrets/fullchain.pem
privkey_pem:
file: ./secrets/privkey.pem
file: ./src/secrets/privkey.pem
mailarchive_passwd_txt:
file: ./secrets/mailarchive_passwd.txt
file: ./src/secrets/mailarchive_passwd.txt


services:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 35f4070

Please # to comment.