diff --git a/portal/docker-compose.yml b/portal/docker-compose.yml new file mode 100644 index 0000000..8b1db3a --- /dev/null +++ b/portal/docker-compose.yml @@ -0,0 +1,27 @@ +name: Portal + +services: + heimdall: + image: linuxserver/heimdall + environment: + PUID: ${NASCOMPOSE_UID?} + PGID: ${NASCOMPOSE_GID?} + networks: + - traefik + volumes: + - heimdall_config:/config/ + restart: unless-stopped + labels: + traefik.enable: true + traefik.http.routers.heimdall.middlewares: authelia@file + +networks: + traefik: + external: true + +volumes: + heimdall_config: + driver_opts: + type: none + o: bind + device: ${NASCOMPOSE_SERVICES?}/portal/volumes/heimdall_config/ diff --git a/docker/volumes/heimdall/config/.gitkeep b/portal/volumes/heimdall_config/.gitkeep similarity index 100% rename from docker/volumes/heimdall/config/.gitkeep rename to portal/volumes/heimdall_config/.gitkeep diff --git a/utilities.docker-compose.yml b/utilities.docker-compose.yml index 765c9f9..b80f98f 100644 --- a/utilities.docker-compose.yml +++ b/utilities.docker-compose.yml @@ -28,20 +28,6 @@ services: traefik.enable: true traefik.http.routers.smokeping.middlewares: authelia@file - heimdall: - image: linuxserver/heimdall - environment: - PUID: ${NASCOMPOSE_UID?} - PGID: ${NASCOMPOSE_GID?} - networks: - - traefik - volumes: - - heimdall_config:/config/ - restart: unless-stopped - labels: - traefik.enable: true - traefik.http.routers.heimdall.middlewares: authelia@file - networks: docker: external: true @@ -59,14 +45,7 @@ volumes: type: none o: bind device: ${NASCOMPOSE_SERVICES?}/volumes/smokeping/config/ - heimdall_config: - driver_opts: - type: none - o: bind - device: ${NASCOMPOSE_SERVICES?}/volumes/heimdall/config/ secrets: - duckdns_token: - file: ${NASCOMPOSE_SERVICES?}/secrets/duckdns/duckdns_token watchtower_notification_url: file: ${NASCOMPOSE_SERVICES?}/secrets/watchtower/notification_url