From b78f32aed5d3ca83ac2dc1821396394ff052fdd1 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Fri, 20 Jan 2023 17:42:51 +0100 Subject: [PATCH] Move somkeping to network-monitoring --- network-monitoring/docker-compose.yml | 33 +++++++++++++++++++ .../volumes/smokeping_config}/.gitkeep | 0 .../volumes/smokeping_data}/.gitkeep | 0 utilities.docker-compose.yml | 29 ---------------- 4 files changed, 33 insertions(+), 29 deletions(-) create mode 100644 network-monitoring/docker-compose.yml rename {docker/volumes/smokeping/config => network-monitoring/volumes/smokeping_config}/.gitkeep (100%) rename {docker/volumes/smokeping/data => network-monitoring/volumes/smokeping_data}/.gitkeep (100%) diff --git a/network-monitoring/docker-compose.yml b/network-monitoring/docker-compose.yml new file mode 100644 index 0000000..110b7b6 --- /dev/null +++ b/network-monitoring/docker-compose.yml @@ -0,0 +1,33 @@ +name: Network monitoring + +services: + smokeping: + image: linuxserver/smokeping + environment: + PUID: ${NASCOMPOSE_UID?} + PGID: ${NASCOMPOSE_GID?} + networks: + - traefik + volumes: + - smokeping_data:/data/ + - smokeping_config:/config/ + restart: unless-stopped + labels: + traefik.enable: true + traefik.http.routers.smokeping.middlewares: authelia@file + +networks: + traefik: + external: true + +volumes: + smokeping_data: + driver_opts: + type: none + o: bind + device: ${NASCOMPOSE_SERVICES?}/volumes/smokeping/data/ + smokeping_config: + driver_opts: + type: none + o: bind + device: ${NASCOMPOSE_SERVICES?}/volumes/smokeping/config/ diff --git a/docker/volumes/smokeping/config/.gitkeep b/network-monitoring/volumes/smokeping_config/.gitkeep similarity index 100% rename from docker/volumes/smokeping/config/.gitkeep rename to network-monitoring/volumes/smokeping_config/.gitkeep diff --git a/docker/volumes/smokeping/data/.gitkeep b/network-monitoring/volumes/smokeping_data/.gitkeep similarity index 100% rename from docker/volumes/smokeping/data/.gitkeep rename to network-monitoring/volumes/smokeping_data/.gitkeep diff --git a/utilities.docker-compose.yml b/utilities.docker-compose.yml index b80f98f..2399dab 100644 --- a/utilities.docker-compose.yml +++ b/utilities.docker-compose.yml @@ -13,38 +13,9 @@ services: - watchtower_notification_url restart: unless-stopped - smokeping: - image: linuxserver/smokeping - environment: - PUID: ${NASCOMPOSE_UID?} - PGID: ${NASCOMPOSE_GID?} - networks: - - traefik - volumes: - - smokeping_data:/data/ - - smokeping_config:/config/ - restart: unless-stopped - labels: - traefik.enable: true - traefik.http.routers.smokeping.middlewares: authelia@file - networks: docker: external: true - traefik: - external: true - -volumes: - smokeping_data: - driver_opts: - type: none - o: bind - device: ${NASCOMPOSE_SERVICES?}/volumes/smokeping/data/ - smokeping_config: - driver_opts: - type: none - o: bind - device: ${NASCOMPOSE_SERVICES?}/volumes/smokeping/config/ secrets: watchtower_notification_url: