commit e9c7d02f66aa00a44fc95ff36f023f819a17a6e4 Author: Ryan Harg Date: Tue Nov 7 10:33:48 2023 +0000 Moving vaultwarden setup to its own repo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ff7d48b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +bw-data/ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..240780a --- /dev/null +++ b/docker-compose.yml @@ -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