Updated docker compose

This commit is contained in:
2025-10-04 12:33:46 +02:00
parent e76c7edc6a
commit e48d35ce77

View File

@@ -1,5 +1,6 @@
services: services:
mosquitto: mosquitto:
restart: unless-stopped
image: eclipse-mosquitto image: eclipse-mosquitto
ports: ports:
- 1883:1883 - 1883:1883
@@ -52,8 +53,7 @@ services:
- environment-variables/local.env - environment-variables/local.env
- environment-variables/production.env - environment-variables/production.env
syncthing: syncthing:
image: lscr.io/linuxserver/syncthing:latest image: syncthing/syncthing
container_name: syncthing
labels: labels:
- traefik.http.routers.syncthing.rule=Host(`syncthing.pladijs`) - traefik.http.routers.syncthing.rule=Host(`syncthing.pladijs`)
- traefik.http.services.syncthing.loadbalancer.server.port=8384 - traefik.http.services.syncthing.loadbalancer.server.port=8384
@@ -62,12 +62,16 @@ services:
- PGID=1000 - PGID=1000
- TZ=Europe/London - TZ=Europe/London
volumes: volumes:
- ${STORAGE_DIR}/syncthing:/data1 - ${STORAGE_DIR}/syncthing:/var/syncthing
ports:
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
restart: unless-stopped restart: unless-stopped
env_file:
- environment-variables/local.env
- environment-variables/production.env
healthcheck:
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
interval: 1m
timeout: 10s
retries: 3
node-exporter: node-exporter:
image: prom/node-exporter:latest image: prom/node-exporter:latest
container_name: node-exporter container_name: node-exporter