server-setup/Docker/vaultwarden/docker-compose.yml

32 lines
674 B
YAML
Raw Normal View History

2022-06-30 08:20:53 +02:00
version: "3.9"
networks:
proxy:
external: true
services:
vaultwarden:
image: vaultwarden/server:1.23.0
container_name: vaultwarden
restart: always
environment:
- DOMAIN=https://vw.example.de
- SIGNUPS_ALLOWED=false
- WEBSOCKET_ENABLED=true
- SMTP_HOST=smtp.gmail.com
- SMTP_FROM=vaultwarden@example.de
- SMTP_PORT=587
- SMTP_SSL=true
- SMTP_USERNAME=example@gmail.com
- SMTP_PASSWORD=example
- DUO_IKEY=example
- DUO_SKEY=example
- DUO_HOST=example
volumes:
- /etc/localtime:/etc/localtime:ro
- ./data:/data/
expose:
- 80
networks:
- proxy