Files
nas-compose/services/network-monitoring/docker-compose.yml
2023-01-22 07:47:55 +01:00

35 lines
784 B
YAML

name: Network monitoring
services:
smokeping:
hostname: smokeping
image: linuxserver/smokeping
environment:
PUID: ${NASCOMPOSE_UID?}
PGID: ${NASCOMPOSE_GID?}
networks:
- reverse-proxy
volumes:
- smokeping_config:/config/
- smokeping_data:/data/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.routers.smokeping.middlewares: authelia@file
networks:
reverse-proxy:
external: true
volumes:
smokeping_data:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/network-monitoring/volumes/smokeping_data/
smokeping_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/network-monitoring/volumes/smokeping_config/