Gitea with Let's Encrypt in a Docker Compose

This commit is contained in:
Vladimir Mikhalev 2021-10-05 17:10:43 -04:00 committed by GitHub
parent 05a6d0b1fa
commit 80f3353d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ services:
- "traefik.http.routers.dashboard.middlewares=authtraefik" - "traefik.http.routers.dashboard.middlewares=authtraefik"
# Basic Authentication for Traefik Dashboard # Basic Authentication for Traefik Dashboard
# Username: traefikadmin (replace with yours) # Username: traefikadmin (replace with yours)
# Passwords must be encoded using MD5, SHA1, or BCrypt # Passwords must be encoded using MD5, SHA1, or BCrypt https://hostingcanada.org/htpasswd-generator/
- "traefik.http.middlewares.authtraefik.basicauth.users=traefikadmin:$$2y$$10$$sMzJfirKC75x/hVpiINeZOiSm.Jkity9cn4KwNkRvO7hSQVFc5FLO" - "traefik.http.middlewares.authtraefik.basicauth.users=traefikadmin:$$2y$$10$$sMzJfirKC75x/hVpiINeZOiSm.Jkity9cn4KwNkRvO7hSQVFc5FLO"
- "traefik.http.routers.http-catchall.rule=HostRegexp(`{host:.+}`)" - "traefik.http.routers.http-catchall.rule=HostRegexp(`{host:.+}`)"
- "traefik.http.routers.http-catchall.entrypoints=web" - "traefik.http.routers.http-catchall.entrypoints=web"