vaultwarden,traefik: setup ssl
This commit is contained in:
parent
cd841f5f29
commit
705fa483cb
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user