host from env

This commit is contained in:
2026-01-29 19:20:03 +01:00
parent c7c71645e5
commit c2d99b9cd6
14 changed files with 15 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ services:
- authentik-postgres
- authentik-redis
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
authentik-worker:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2025.8.1}

View File

@@ -6,7 +6,7 @@ services:
environment:
- TZ=Europe/Amsterdam
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
healthcheck:
test: ["CMD", "pgrep", "crond"]
interval: 20s

View File

@@ -24,4 +24,4 @@ services:
- /opt/caddy/data:/data/caddy
- /opt/caddy/logs:/var/log
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -16,4 +16,4 @@ services:
- /var/lib/docker:/media/docker:ro
- /dev/mapper:/dev/mapper
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -20,4 +20,4 @@ services:
- DATABASE_PASS=${FLUENTBIT_DATABASE_PASS}
- DATABASE_NAME=${FLUENTBIT_DATABASE_NAME}
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -19,7 +19,7 @@ services:
- GITEA__mailer__PROTOCOL=smtp+starttls
restart: always
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
volumes:
- /opt/gitea:/data
- /etc/timezone:/etc/timezone:ro

View File

@@ -18,4 +18,4 @@ services:
- /opt/grafana:/var/lib/grafana
# - /opt/grafana/grafana.ini:/etc/grafana/grafana.ini
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -9,4 +9,4 @@ services:
- /opt/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -11,4 +11,4 @@ services:
- /opt/loki/local-config.yaml:/etc/loki/local-config.yaml:ro
- /opt/loki/data:/loki
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -11,4 +11,4 @@ services:
- /opt/mosquitto/data:/mosquitto/data
- /opt/mosquitto/log:/mosquitto/log
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"

View File

@@ -9,5 +9,5 @@ services:
environment:
- TZ=Europe/Amsterdam
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
- mqqtt:192.168.2.200

View File

@@ -4,7 +4,7 @@ services:
- NET_ADMIN
container_name: openvpn-server
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
image: kylemanna/openvpn:2.4
ports:
- 444:443

View File

@@ -13,6 +13,6 @@ services:
- DATABASE_PASS=${TELEGRAF_DATABASE_PASS}
- DATABASE_NAME=${TELEGRAF_DATABASE_NAME}
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
volumes:
- /opt/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro

View File

@@ -17,7 +17,7 @@ services:
ports:
- 4000:4000
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
volumes:
- /opt/teslamate/import:/opt/app/import
cap_drop:
@@ -38,7 +38,7 @@ services:
ports:
- 3004:3000
extra_hosts:
- host:192.168.2.200
- "host:${HOST_IP}"
volumes:
- /opt/teslamate/grafana:/var/lib/grafana
- /opt/teslamate/achievements/dashboard.yml:/etc/grafana/provisioning/dashboards/dashboard.yml