vps/roles/vaultwarden/templates/docker-compose.yaml

12 lines
333 B
YAML
Raw Normal View History

2023-11-22 08:26:10 +01:00
services:
vaultwarden:
image: docker.io/vaultwarden/server:alpine
2023-11-22 08:26:10 +01:00
container_name: vaultwarden
restart: always
2024-02-17 19:01:04 +01:00
user: {{ users['vaultwarden'] }}:{{ users['vaultwarden'] }}
env_file: .env
2023-11-22 08:26:10 +01:00
ports:
- 127.0.0.1:{{ ports['vaultwarden'] }}:80
2023-11-22 08:26:10 +01:00
volumes:
2024-02-17 19:01:04 +01:00
- {{ volumes['vaultwarden_datadir' ] }}:/data