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
|
||||||
|
/*/*.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/*
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue