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
/*/*.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 # This is not necessary with the wildcard used in the first line, but it is clearer
/letsencrypt/* /letsencrypt/*

View file

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