Do not use temp volume for smokeping's config

This commit is contained in:
Colin Hebert
2022-12-28 22:28:34 +01:00
parent 5a9aa2cac3
commit 1c2b7fc65d
2 changed files with 6 additions and 5 deletions

View File

@@ -23,9 +23,7 @@ services:
- traefik - traefik
volumes: volumes:
- smokeping_data:/data/ - smokeping_data:/data/
#configs: - smokeping_config:/config/
# - source: smokeping
# target: /config/
restart: unless-stopped restart: unless-stopped
labels: labels:
traefik.enable: true traefik.enable: true
@@ -68,6 +66,11 @@ volumes:
type: none type: none
o: bind o: bind
device: ${SERVICES_DIR?}/smokeping/volumes/data/ device: ${SERVICES_DIR?}/smokeping/volumes/data/
smokeping_config:
driver_opts:
type: none
o: bind
device: ${SERVICES_DIR?}/smokeping/volumes/config/
ddclient_data: ddclient_data:
driver_opts: driver_opts:
type: none type: none
@@ -85,8 +88,6 @@ volumes:
device: ${SERVICES_DIR?}/ddclient/volumes/init/ device: ${SERVICES_DIR?}/ddclient/volumes/init/
configs: configs:
# smokeping:
# file: ${SERVICES_DIR?}/smokeping/config/
ddclient_config_tpl: ddclient_config_tpl:
file: ${SERVICES_DIR?}/ddclient/configs/ddclient.conf.tpl file: ${SERVICES_DIR?}/ddclient/configs/ddclient.conf.tpl