Create TLS config

This commit is contained in:
Colin Hebert
2022-12-31 11:22:25 +01:00
parent 996aacac96
commit b001874c95

View File

@@ -22,6 +22,7 @@ services:
- docker
volumes:
- traefik_dynamic_config:/etc/traefik/dynamic/
- traefik_tls:/etc/traefik/tls/
configs:
- source: traefik_config
target: /etc/traefik/traefik.yml
@@ -78,6 +79,13 @@ volumes:
device: ${SERVICES_DIR?}/traefik/volumes/config/
labels:
nas-compose.boostrap: true
traefik_tls:
driver_opts:
type: none
o: bind
device: ${SERVICES_DIR?}/traefik/volumes/tls/
labels:
nas-compose.boostrap: true
configs:
traefik_config: