14 lines
434 B
YAML
14 lines
434 B
YAML
services:
|
|
vaultwarden:
|
|
image: docker.io/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:
|
|
- 127.0.0.1:{{ ports['vaultwarden'] }}:80
|
|
volumes:
|
|
- {{ volumes['vaultwarden_datadir' ] }}:/data
|