feat: implement lot of config stuff
This commit is contained in:
parent
35ee0bf153
commit
b98f9935ba
@ -1,3 +1,12 @@
|
||||
---
|
||||
vaultwarden_version: "1.29.2"
|
||||
vaultwarden_identifier: "default"
|
||||
vaultwarden_identifier: "default"
|
||||
|
||||
vaultwarden_smtp_host: ""
|
||||
vaultwarden_smtp_port: ""
|
||||
vaultwarden_smtp_from: ""
|
||||
vaultwarden_smtp_username: ""
|
||||
vaultwarden_smtp_password: ""
|
||||
vaultwarden_smtp_security: ""
|
||||
|
||||
vaultwarden_admin_token: ""
|
||||
|
@ -7,6 +7,19 @@ Image=docker.io/vaultwarden/server:{{ vaultwarden_version }}
|
||||
|
||||
Environment=TZ=Europe/Berlin
|
||||
Environment=DOMAIN=https://{{ vaultwarden_url }}
|
||||
Environment=ROCKET_PORT=8080
|
||||
Environment=SIGNUPS_ALLOWED=false
|
||||
Environment=ADMIN_TOKEN={{ vaultwarden_admin_token }}
|
||||
Environment=WEBSOCKET_ENABLED=true
|
||||
|
||||
Environment=SMTP_HOST={{ vaultwarden_smtp_host }}
|
||||
Environment=SMTP_PORT={{ vaultwarden_smtp_port }}
|
||||
Environment=SMTP_FROM={{ vaultwarden_smtp_from }}
|
||||
Environment=SMTP_SECURITY={{ vaultwarden_smtp_security }}
|
||||
Environment=SMTP_USERNAME={{ vaultwarden_smtp_username }}
|
||||
Environment=SMTP_PASSWORD={{ vaultwarden_smtp_password }}
|
||||
|
||||
|
||||
|
||||
Network=traefik.network
|
||||
|
||||
@ -24,7 +37,7 @@ PodmanArgs=--userns=keep-id --security-opt label=disable
|
||||
Label="traefik.http.routers.vaultwarden-{{ vaultwarden_identifier }}.tls.certresolver=resolver"
|
||||
Label="traefik.http.routers.vaultwarden-{{ vaultwarden_identifier }}.tls=true"
|
||||
Label="traefik.http.routers.vaultwarden-{{ vaultwarden_identifier }}.rule=Host(`{{ vaultwarden_url }}`)"
|
||||
Label="traefik.http.routers.vaultwarden-{{ vaultwarden_identifier }}.loadbalancer.server.port=80"
|
||||
Label="traefik.http.routers.vaultwarden-{{ vaultwarden_identifier }}.loadbalancer.server.port=8080"
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
|
Loading…
Reference in New Issue
Block a user