Moving vaultwarden setup to its own repo

This commit is contained in:
Ryan Harg 2023-11-07 10:33:48 +00:00
commit e9c7d02f66
2 changed files with 24 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.env
bw-data/

22
docker-compose.yml Normal file
View file

@ -0,0 +1,22 @@
version: '3'
services:
vaultwarden:
image: vaultwarden/server:1.29.2
container_name: vaultwarden
restart: always
ports:
- "9000:80"
environment:
- WEBSOCKET_ENABLED=true # Enable WebSocket notifications.
- SIGNUPS_ALLOWED=false
- DOMAIN=${DOMAIN}
- SMTP_HOST=${SMTP_HOST}
- SMTP_FROM=${SMTP_FROM}
- SMTP_PORT=587
- SMTP_SSL=true
- SMTP_USERNAME=${SMTP_USERNAME}
- SMTP_PASSWORD=${SMTP_PASSWORD}
- ADMIN_TOKEN=${ADMIN_TOKEN}
volumes:
- ./bw-data:/data