You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-homelab/roles/setup_hosted_services/templates/vaultwarden.j2

24 lines
603 B
Django/Jinja

---
version: '3.3'
services:
vaultwarden:
labels:
ie.cianhatton.backup.enabled: "true"
ie.cianhatton.backup.schedule: "{{ backups.schedule_keys.nightly }}"
image: "{{ template_vars.image }}:{{ template_vars.tag }}"
volumes:
- data:/data
environment:
WEBSOCKET_ENABLED: true
SENDS_ALLOWED: true
EMERGENCY_ACCESS_ALLOWED: true
WEB_VAULT_ENABLED: true
DOMAIN: "https://vault.cianhatton.ie"
ADMIN_TOKEN: "{{ vaultwarden_admin_token }}"
SIGNUPS_ALLOWED: false
restart: unless-stopped
ports:
- 80:80
volumes:
data: