dotfiles/roles/vaultwarden/templates/vaultwarden.container
Matej Focko 69db34f4ff
fix(vaultwarden): handle reverse proxy
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-18 15:47:36 +01:00

22 lines
367 B
Text

# {{ ansible_managed }}
[Unit]
Description=Vaultwarden
[Container]
ContainerName=vaultwarden
Image=ghcr.io/dani-garcia/vaultwarden:latest
EnvironmentFile=/etc/vaultwarden.ini
Network=vaultwarden.network
PublishPort={{ vaultwarden_http_port }}:80
PublishPort=3012:3012
Volume=vaultwarden-data:/data
[Service]
Restart=always
[Install]
WantedBy=multi-user.target