This commit is contained in:
2024-12-26 10:52:28 +01:00
parent c572c06ccb
commit 861f72e897
5 changed files with 8 additions and 46 deletions

View File

@@ -26,8 +26,8 @@ services:
ports:
- 3306:3306
env_file:
- envs/local.env
- envs/production.env
- environment-variables/local.env
- environment-variables/production.env
volumes:
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
homeassistant:
@@ -40,8 +40,8 @@ services:
- ${REPO_DIR}/configurations/home-assistant/configuration-production.yaml:/config/configuration.yaml
restart: unless-stopped
env_file:
- envs/local.env
- envs/production.env
- environment-variables/local.env
- environment-variables/production.env
syncthing:
image: lscr.io/linuxserver/syncthing:latest
container_name: syncthing
@@ -96,8 +96,8 @@ services:
volumes:
- ${STORAGE_DIR}/grafana:/var/lib/grafana
env_file:
- envs/local.env
- envs/production.env
- environment-variables/local.env
- environment-variables/production.env
labels:
- traefik.http.routers.grafana.rule=Host(`grafana.pladijs`)
- traefik.http.services.grafana.loadbalancer.server.port=3000
@@ -112,8 +112,8 @@ services:
- TZ=Europe/Brussels
- DOCKER_INFLUXDB_INIT_MODE=setup
env_file:
- envs/local.env
- envs/production.env
- environment-variables/local.env
- environment-variables/production.env
volumes:
- ${STORAGE_DIR}/influxdb/data:/var/lib/influxdb2
- ${STORAGE_DIR}/influxdb/config/:/etc/influxdb2

View File

@@ -1,38 +0,0 @@
version: "3.9"
services:
whoami:
restart: unless-stopped
network_mode: "host"
image: traefik/whoami
command:
- --port=2001
traefik:
restart: unless-stopped
network_mode: "host"
image: "traefik:1.7.10"
volumes:
- /home/pi/repos/homeAutomation/configurations/traefik/traefik.1.7.10.toml:/etc/traefik/traefik.toml
mosquitto:
restart: unless-stopped
image: eclipse-mosquitto:2
volumes:
- /home/pi/repos/homeAutomation/configurations/eclipse-mosquitto/:/mosquitto/config/:ro
- ./log/:/mosquitto/log/
ports:
- 2883:1883
- 9001:9001
node-exporter:
image: prom/node-exporter:latest
container_name: node-exporter
restart: unless-stopped
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
command:
- '--path.procfs=/host/proc'
- '--path.rootfs=/rootfs'
- '--path.sysfs=/host/sys'
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
ports:
- 9100:9100