vaultwarden,traefik: setup ssl

This commit is contained in:
Schneider Roland 2024-10-06 10:37:01 +02:00
parent cd841f5f29
commit 705fa483cb
2 changed files with 29 additions and 14 deletions

View File

@ -4,12 +4,12 @@ services:
image: traefik:v3.1
# Enables the web UI and tells Traefik to listen to docker
command:
- --api.insecure=true
- --providers.docker
# - --api.insecure=true
# - --providers.docker
# - --entryPoints.web.address=:80
# - --entryPoints.websecure.address=:443
- --accesslog=true
- --log.level=DEBUG
# - --accesslog=true
# - --log.level=DEBUG
- --configFile=/traefik/config.yaml
ports:
# The HTTP port

View File

@ -1,16 +1,31 @@
## Static configuration
#entryPoints:
# web:
# address: ":80"
#
# websecure:
# address: ":443"
# enable admin gui
api:
insecure: true
#tls:
# stores:
# default:
# enable access logs
acceslog: true
# set log level
log:
level: debug
# set default certificate
tls:
stores:
default:
# certificate not set so will be autogenerated
defaultCertificate:
# enable docker compose auto discovery
providers:
docker: { }
## Static configuration
entryPoints:
web:
address: ":80"
websecure:
address: ":443"