From a44d36b46e9839118683ef10fba81207764ef90f Mon Sep 17 00:00:00 2001 From: Hive Date: Wed, 27 May 2020 00:28:20 +0200 Subject: [PATCH] remove dashboard endpoint --- config/.gitignore | 1 - docker-compose.yml | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 config/.gitignore diff --git a/config/.gitignore b/config/.gitignore deleted file mode 100644 index 069fa6c..0000000 --- a/config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -acme.toml diff --git a/docker-compose.yml b/docker-compose.yml index e4d842a..b5d254e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,17 +20,6 @@ services: - "traefik.http.routers.http-catchall.entrypoints=web" - "traefik.http.routers.http-catchall.middlewares=redirect-to-https" - # Password middleware - - "traefik.http.middlewares.simpleauth.basicauth.users=zombi:$$apr1$$kv8xG9wi$$4UPHqcvKnYUab/tts6ZIU1" - # Dashboard, running at https://zom.bi/dashboard/ - - "traefik.http.routers.dashboard.rule=Host(`zom.bi`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))" - - "traefik.http.routers.dashboard.entrypoints=websecure" - - "traefik.http.routers.dashboard.service=api@internal" - - "traefik.http.routers.dashboard.middlewares=simpleauth" - - "traefik.http.routers.dashboard.tls=true" - - "traefik.http.routers.dashboard.tls.certresolver=default" - - "traefik.http.routers.dashboard.tls.domains[0].main=zom.bi" - - "traefik.http.routers.dashboard.tls.domains[0].sans=conference.zom.bi,mumble.zom.bi,mx.zom.bi,user.zom.bi,xmpp.zom.bi,irc.zom.bi,api.zom.bi,autoconfig.zom.bi,blog.zom.bi,cloud.zom.bi,docker.zom.bi,download.zom.bi,gdpr.zom.bi,git.zom.bi,kanban.zom.bi,mail.zom.bi,music.zom.bi,org.zom.bi,ovpn.zom.bi,pad.zom.bi,push.zom.bi,static.zom.bi,stream.zom.bi,tube.zom.bi,upload.zom.bi,wiki.zom.bi,www.zom.bi,test.zom.bi" - "traefik.docker.network=proxy_web" networks: - "web" @@ -44,6 +33,7 @@ services: file --watch --source /cert/acme.json --version v2 --domain-subdir --crt-name=fullchain --crt-ext=.pem --key-name=privkey --key-ext=.pem + --post-hook "chmod -R a+r /ssl/" --dest /ssl