services: transmission: use secret environment
To ensure that I do not repeat the mistake from last time...
This commit is contained in:
parent
95e15adc13
commit
68e26fad5b
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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/*
|
||||
|
|
|
@ -111,6 +111,7 @@ services:
|
|||
restart: unless-stopped
|
||||
env_file:
|
||||
- ./transmission/transmission.env
|
||||
- ./transmission/transmission.env.secret
|
||||
volumes:
|
||||
- ./transmission:/config
|
||||
- ~/downloads:/downloads
|
||||
|
|
Reference in a new issue