dns.env file did not work out, env_file: element not being read before dns: element. Using folder-specific .env files instead, seems to be loaded before dns: element. Also move other values to the env files for better password privacy.
This commit is contained in:
@@ -11,10 +11,5 @@ services:
|
||||
ports:
|
||||
- 8000:80
|
||||
- 4443:443
|
||||
environment:
|
||||
- JWT_SECRET=abc123
|
||||
env_file:
|
||||
- ../../dns.env
|
||||
dns:
|
||||
- $DNS1
|
||||
- $DNS2
|
||||
- "$DNS"
|
||||
|
Reference in New Issue
Block a user