Add bitwarden stack
This commit is contained in:
parent
197cf5e809
commit
2ee28d7256
9
bitwarden/.env.example
Normal file
9
bitwarden/.env.example
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
BW_TAR_PASS=<your_tar_password>
|
||||||
|
BW_ACCOUNT_SOURCE=<your_bitwarden_source_email>
|
||||||
|
BW_PASS_SOURCE=<your_bitwarden_source_password>
|
||||||
|
BW_CLIENTID_SOURCE=<your_bitwarden_source_client_id>
|
||||||
|
BW_CLIENTSECRET_SOURCE=<your_bitwarden_source_client_secret>
|
||||||
|
BW_ACCOUNT_DEST=<your_bitwarden_dest_email>
|
||||||
|
BW_PASS_DEST=<your_bitwarden_dest_password>
|
||||||
|
BW_CLIENTID_DEST=<your_bitwarden_dest_client_id>
|
||||||
|
BW_CLIENTSECRET_DEST=<your_bitwarden_dest_client_secret>
|
23
bitwarden/docker-compose.yml
Normal file
23
bitwarden/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
version: "3.6"
|
||||||
|
services:
|
||||||
|
vaultwarden:
|
||||||
|
image: vaultwarden/server:latest
|
||||||
|
container_name: vaultwarden
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
DOMAIN: "https://bitwarden.shoebottom.ca" # required when using a reverse proxy; your domain; vaultwarden needs to know it's https to work properly with attachments
|
||||||
|
SIGNUPS_ALLOWED: "true" # Deactivate this with "false" after you have created your account so that no strangers can register
|
||||||
|
volumes:
|
||||||
|
- /docker/appdata/bitwarden/vaultwarden:/data # the path before the : can be changed
|
||||||
|
ports:
|
||||||
|
- 11001:80 # you can replace the 11001 with your preferred port
|
||||||
|
bitwarden-sync:
|
||||||
|
image: martadams89/bitwarden-sync:latest
|
||||||
|
container_name: bitwarden-sync
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- CRON_SCHEDULE=0 0 * * *
|
||||||
|
- BW_SERVER_SOURCE=https://bitwarden.shoebottom.ca
|
||||||
|
- BW_SERVER_DEST=https://vault.bitwarden.com
|
||||||
|
volumes:
|
||||||
|
- /docker/appdata/bitwarden/sync:/app/backups
|
Loading…
Reference in New Issue
Block a user