From fac2163067071df251372b39644f2576eb189592 Mon Sep 17 00:00:00 2001 From: sawyer bristol Date: Fri, 15 Mar 2024 18:40:29 -0600 Subject: [PATCH] make dashy config read only --- utilities.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utilities.yml b/utilities.yml index cf4c0d8..0bd997d 100644 --- a/utilities.yml +++ b/utilities.yml @@ -21,7 +21,7 @@ services: expose: - 80 volumes: - - ./dashy/conf.yml:/app/public/conf.yml + - ./dashy/conf.yml:/app/public/conf.yml:ro environment: - NODE_ENV=production labels: @@ -63,7 +63,7 @@ services: - "traefik.http.routers.portainer-secure.middlewares=forward-auth" - "traefik.http.middlewares.remove-path.stripprefix.prefixes=/portainer" - "traefik.http.routers.portainer.middlewares=remove-path@docker" - - "traefik.http.routers.files-secure.middlewares=forward-auth" + - "traefik.http.routers.portainer-secure.middlewares=forward-auth" registry: # My own docker registry container_name: registry @@ -135,12 +135,12 @@ services: - "traefik.enable=true" - "traefik.docker.network=web" - "traefik.http.routers.files.entrypoints=http" - - "traefik.http.routers.files.rule=Host(`files.${DOMAIN}`) || Host(`filebrowser.${DOMAIN}`) " + - "traefik.http.routers.files.rule=Host(`files.${DOMAIN}`) || Host(`filebrowser.${DOMAIN}`)" - "traefik.http.middlewares.files-https-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https" - "traefik.http.routers.files.middlewares=files-https-redirect" - "traefik.http.routers.files-secure.entrypoints=https" - - "traefik.http.routers.files-secure.rule=Host(`files.${DOMAIN}`) || Host(`filebrowser.${DOMAIN}`) " + - "traefik.http.routers.files-secure.rule=Host(`files.${DOMAIN}`) || Host(`filebrowser.${DOMAIN}`)" - "traefik.http.routers.files-secure.tls=true" - "traefik.http.routers.files-secure.tls.certresolver=${DNS}" - "traefik.http.routers.files-secure.middlewares=forward-auth"