dotfiles/roles/vaultwarden/templates/vaultwarden.container

23 lines
344 B
Text
Raw Normal View History

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