Moving vaultwarden setup to its own repo
This commit is contained in:
commit
e9c7d02f66
2 changed files with 24 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.env
|
||||||
|
bw-data/
|
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal 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
|
Loading…
Reference in a new issue