Adopt new hierarchy pattern
This commit is contained in:
@@ -22,8 +22,8 @@ services:
|
|||||||
- traefik
|
- traefik
|
||||||
- docker
|
- docker
|
||||||
configs:
|
configs:
|
||||||
- source: traefik
|
- source: traefik_config
|
||||||
target: /etc/traefik/
|
target: /etc/traefik/traefik.yml
|
||||||
depends_on:
|
depends_on:
|
||||||
- docker
|
- docker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
- docker
|
- docker
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- portainer_data:/data
|
- portainer_data:/data/
|
||||||
secrets:
|
secrets:
|
||||||
- portainer_password
|
- portainer_password
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -68,13 +68,13 @@ volumes:
|
|||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${MOUNT_DIR?}/portainer/data/
|
device: ${MOUNT_DIR?}/portainer/volumes/data/
|
||||||
labels:
|
labels:
|
||||||
nas-compose.boostrap: true
|
nas-compose.boostrap: true
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
traefik:
|
traefik_config:
|
||||||
file: ${MOUNT_DIR?}/traefik/config/
|
file: ${MOUNT_DIR?}/traefik/configs/traefik.yml
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
portainer_password:
|
portainer_password:
|
||||||
|
|||||||
5
mounts/.gitignore
vendored
5
mounts/.gitignore
vendored
@@ -1,5 +0,0 @@
|
|||||||
*/data/*
|
|
||||||
!*/data/README.md
|
|
||||||
*/secrets/*
|
|
||||||
!*/secrets/README.md
|
|
||||||
!.gitignore
|
|
||||||
@@ -10,9 +10,9 @@ services:
|
|||||||
- gotify
|
- gotify
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- gotify_data:/app/data
|
- gotify_data:/app/data/
|
||||||
secrets:
|
secrets:
|
||||||
- admin_password
|
- gotify_admin_password
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: true
|
traefik.enable: true
|
||||||
@@ -29,8 +29,8 @@ volumes:
|
|||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${MOUNT_DIR?}/gotify/data/
|
device: ${MOUNT_DIR?}/gotify/volumes/data/
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
admin_password:
|
gotify_admin_password:
|
||||||
file: ${MOUNT_DIR?}/gotify/secrets/admin_password
|
file: ${MOUNT_DIR?}/gotify/secrets/admin_password
|
||||||
|
|||||||
6
services/.gitignore
vendored
Normal file
6
services/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
*/volumes/*/*
|
||||||
|
!*/volumes/*/README.md
|
||||||
|
!*/volumes/*/.gitkeep
|
||||||
|
*/secrets/*
|
||||||
|
!*/secrets/README.md
|
||||||
|
!.gitignore
|
||||||
@@ -1,2 +1 @@
|
|||||||
!entrypoint.sh
|
|
||||||
!postscript_gotify.sh
|
!postscript_gotify.sh
|
||||||
1
services/ddclient/volumes/init/.gitignore
vendored
Normal file
1
services/ddclient/volumes/init/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
!entrypoint.sh
|
||||||
@@ -22,7 +22,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- smokeping_data:/data
|
- smokeping_data:/data/
|
||||||
#configs:
|
#configs:
|
||||||
# - source: smokeping
|
# - source: smokeping
|
||||||
# target: /config/
|
# target: /config/
|
||||||
@@ -42,8 +42,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- gotify
|
- gotify
|
||||||
volumes:
|
volumes:
|
||||||
- ddclient_data:/data
|
- ddclient_data:/data/
|
||||||
- ddclient_init:/custom-cont-init.d:ro
|
- ddclient_init:/custom-cont-init.d/:ro
|
||||||
configs:
|
configs:
|
||||||
- source: ddclient_config
|
- source: ddclient_config
|
||||||
target: /config/
|
target: /config/
|
||||||
@@ -67,23 +67,23 @@ volumes:
|
|||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${MOUNT_DIR?}/smokeping/data/
|
device: ${MOUNT_DIR?}/smokeping/volumes/data/
|
||||||
ddclient_data:
|
ddclient_data:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${MOUNT_DIR?}/ddclient/data/
|
device: ${MOUNT_DIR?}/ddclient/volumes/data/
|
||||||
ddclient_init:
|
ddclient_init:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: ${MOUNT_DIR?}/ddclient/cont-init/
|
device: ${MOUNT_DIR?}/ddclient/volumes/init/
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
# smokeping:
|
# smokeping:
|
||||||
# file: ${MOUNT_DIR?}/smokeping/config/
|
# file: ${MOUNT_DIR?}/smokeping/config/
|
||||||
ddclient_config:
|
ddclient_config:
|
||||||
file: ${MOUNT_DIR?}/ddclient/config/
|
file: ${MOUNT_DIR?}/ddclient/configs/ddclient.conf.tpl
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
watchtower_gotify_token:
|
watchtower_gotify_token:
|
||||||
|
|||||||
Reference in New Issue
Block a user