Do not use temp volume for smokeping's config
This commit is contained in:
0
services/smokeping/volumes/config/.gitkeep
Normal file
0
services/smokeping/volumes/config/.gitkeep
Normal 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user