add env file
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
||||
cap_add:
|
||||
- net_admin
|
||||
- sys_module
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- TS_STATE_DIR=/var/lib/tailscale
|
||||
- TS_ENABLE_METRICS=true
|
||||
@@ -49,6 +51,8 @@ services:
|
||||
- "--metrics.prometheus.addServicesLabels=true"
|
||||
- "--metrics.prometheus.entryPoint=web-secure"
|
||||
- "--metrics.prometheus.manualRouting=true"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
labels:
|
||||
|
Reference in New Issue
Block a user