add env file

This commit is contained in:
2025-01-15 17:11:56 -06:00
parent 90f51aa554
commit eb3ae115b7
3 changed files with 10 additions and 0 deletions

View File

@@ -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
@@ -20,6 +22,8 @@ services:
blocky:
image: ghcr.io/0xerr0r/blocky:v0.24
container_name: blocky
env_file:
- .env
environment:
- TZ=America/Chicago
ports:

View File

@@ -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

View File

@@ -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: