From e9c7d02f66aa00a44fc95ff36f023f819a17a6e4 Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Tue, 7 Nov 2023 10:33:48 +0000 Subject: [PATCH] Moving vaultwarden setup to its own repo --- .gitignore | 2 ++ docker-compose.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml 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