Cleanup
This commit is contained in:
@@ -26,8 +26,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
env_file:
|
env_file:
|
||||||
- envs/local.env
|
- environment-variables/local.env
|
||||||
- envs/production.env
|
- environment-variables/production.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
|
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
|
||||||
homeassistant:
|
homeassistant:
|
||||||
@@ -40,8 +40,8 @@ services:
|
|||||||
- ${REPO_DIR}/configurations/home-assistant/configuration-production.yaml:/config/configuration.yaml
|
- ${REPO_DIR}/configurations/home-assistant/configuration-production.yaml:/config/configuration.yaml
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- envs/local.env
|
- environment-variables/local.env
|
||||||
- envs/production.env
|
- environment-variables/production.env
|
||||||
syncthing:
|
syncthing:
|
||||||
image: lscr.io/linuxserver/syncthing:latest
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
container_name: syncthing
|
container_name: syncthing
|
||||||
@@ -96,8 +96,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_DIR}/grafana:/var/lib/grafana
|
- ${STORAGE_DIR}/grafana:/var/lib/grafana
|
||||||
env_file:
|
env_file:
|
||||||
- envs/local.env
|
- environment-variables/local.env
|
||||||
- envs/production.env
|
- environment-variables/production.env
|
||||||
labels:
|
labels:
|
||||||
- traefik.http.routers.grafana.rule=Host(`grafana.pladijs`)
|
- traefik.http.routers.grafana.rule=Host(`grafana.pladijs`)
|
||||||
- traefik.http.services.grafana.loadbalancer.server.port=3000
|
- traefik.http.services.grafana.loadbalancer.server.port=3000
|
||||||
@@ -112,8 +112,8 @@ services:
|
|||||||
- TZ=Europe/Brussels
|
- TZ=Europe/Brussels
|
||||||
- DOCKER_INFLUXDB_INIT_MODE=setup
|
- DOCKER_INFLUXDB_INIT_MODE=setup
|
||||||
env_file:
|
env_file:
|
||||||
- envs/local.env
|
- environment-variables/local.env
|
||||||
- envs/production.env
|
- environment-variables/production.env
|
||||||
volumes:
|
volumes:
|
||||||
- ${STORAGE_DIR}/influxdb/data:/var/lib/influxdb2
|
- ${STORAGE_DIR}/influxdb/data:/var/lib/influxdb2
|
||||||
- ${STORAGE_DIR}/influxdb/config/:/etc/influxdb2
|
- ${STORAGE_DIR}/influxdb/config/:/etc/influxdb2
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user