-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
24 lines (23 loc) · 974 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
vaultwarden2keepass:
container_name: vaultwarden2keepass
build: https://github.com/genericFJS/vaultwarden2keepass.git
command: npm run start
volumes:
- './backup:/app/backup'
# Cache bitwarden cli config (else every start of the script would trigger a "new device" mail)
- './backup/cli-config:/root/.config/Bitwarden CLI/'
environment:
# Mandatory
- 'URL=https://vault.bitwarden.com/'
- 'BW_CLIENTID=user.aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee'
- 'BW_CLIENTSECRET=abcdefghijklmnopqrstuvwxz01234'
- 'BW_PASSWORD=Y29ycmVjdGhvcnNlYmF0dGVyeXN0YXBsZQ=='
# Optional
- 'KEEPASS_BACKUP_PASSWORD=VHIwdWI0ZG9yJjM='
- 'ATTACHMENT_TEMP_FOLDER=/tmp'
- 'MAX_ATTACHMENT_BYTES=100000'
- 'KEEPASS_BACKUP_PATH=./backup'
- 'KEEPASS_BACKUP_FILE_NAME=BitwardenBackup'
- 'KEEPASS_BACKUP_DATABASE_NAME=BitwardenBackup_%date%'
- 'ORGANIZATIONS_GROUP_NAME=Organizations'