services: transmission: use secret environment

To ensure that I do not repeat the mistake from last time...
This commit is contained in:
Bruno BELANYI 2020-07-10 18:19:00 +02:00
parent 95e15adc13
commit 68e26fad5b
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
/*/*
!*/*.env
/*/*.env.secret # Just to document that they should definitely never be added
# This is not necessary with the wildcard used in the first line, but it is clearer
/letsencrypt/*

View file

@ -111,6 +111,7 @@ services:
restart: unless-stopped
env_file:
- ./transmission/transmission.env
- ./transmission/transmission.env.secret
volumes:
- ./transmission:/config
- ~/downloads:/downloads