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 image: traefik:v3.1
# Enables the web UI and tells Traefik to listen to docker # Enables the web UI and tells Traefik to listen to docker
command: command:
- --api.insecure=true # - --api.insecure=true
- --providers.docker # - --providers.docker
# - --entryPoints.web.address=:80 # - --entryPoints.web.address=:80
# - --entryPoints.websecure.address=:443 # - --entryPoints.websecure.address=:443
- --accesslog=true # - --accesslog=true
- --log.level=DEBUG # - --log.level=DEBUG
- --configFile=/traefik/config.yaml - --configFile=/traefik/config.yaml
ports: ports:
# The HTTP port # The HTTP port

View File

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