2024-11-15 16:50:11 +01:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
2024-11-14 16:50:43 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Vaultwarden
|
|
|
|
|
|
|
|
[Container]
|
|
|
|
ContainerName=vaultwarden
|
|
|
|
Image=ghcr.io/dani-garcia/vaultwarden:latest
|
2024-11-18 15:48:02 +01:00
|
|
|
AutoUpdate=registry
|
2024-11-14 16:50:43 +01:00
|
|
|
|
|
|
|
EnvironmentFile=/etc/vaultwarden.ini
|
|
|
|
|
|
|
|
Network=vaultwarden.network
|
2024-11-18 15:47:36 +01:00
|
|
|
PublishPort={{ vaultwarden_http_port }}:80
|
2024-11-14 16:50:43 +01:00
|
|
|
PublishPort=3012:3012
|
|
|
|
|
|
|
|
Volume=vaultwarden-data:/data
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|