vps/roles/vaultwarden/templates/docker-compose.yaml
2024-02-17 19:01:04 +01:00

14 lines
414 B
YAML

services:
vaultwarden:
image: vaultwarden/server:alpine
container_name: vaultwarden
restart: always
user: {{ users['vaultwarden'] }}:{{ users['vaultwarden'] }}
environment:
- DOMAIN=https://vw.{{ domain }}
- SIGNUPS_ALLOWED=false
- INVITATIONS_ALLOWED=false
ports:
- {{ ports['vaultwarden'] }}:80
volumes:
- {{ volumes['vaultwarden_datadir' ] }}:/data