52 lines
5.6 KiB
YAML
52 lines
5.6 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
vaultwarden:
|
|
image: vaultwarden/server:latest
|
|
container_name: vaultwarden
|
|
ports:
|
|
- 85:80
|
|
restart: always
|
|
environment:
|
|
DOMAIN: "https://vw.tff.digital" # Your domain; vaultwarden needs to know it's https to work properly with attachments
|
|
SIGNUPS_ALLOWED: false
|
|
ADMIN_TOKEN: $$argon2id$$v=19$$m=65540,t=3,p=4$$P7GmiV8IgZV422sRoJINq8LCay1Kccstn3mEExGh9nk$$323pQ94ZkMADwUn7fHevvPFNd4oW7b7e+Kigu9uj3h0
|
|
TZ: US/Central
|
|
volumes:
|
|
- /home/nick/docker/vaultwarden/vw-data:/data
|
|
|
|
vaultwarden-backup:
|
|
image: bruceforce/vaultwarden-backup
|
|
container_name: vaultwarden-backup
|
|
restart: on-failure
|
|
init: true
|
|
depends_on:
|
|
- vaultwarden
|
|
volumes:
|
|
- /home/nick/docker/vaultwarden/vw-data:/data
|
|
- /home/nick/docker/vaultwarden/backup:/backup
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
environment:
|
|
- BACKUP_ADD_DATABASE=true
|
|
- BACKUP_ADD_ATTACHMENTS=true
|
|
- BACKUP_ADD_CONFIG_JSON=true
|
|
- BACKUP_USE_DEDUPE=true
|
|
- DELETE_AFTER=45
|
|
- TIMESTAMP=true
|
|
- CRON_TIME=*/720 * * * *
|
|
- TZ=US/Central
|
|
- UID=1000
|
|
- GID=984
|
|
- BACKUP_DIR=/backup
|
|
#- BACKUP_DIR_PERMISSIONS=777
|
|
#- BACKUP_DIR_PERMISSIONS=-1
|
|
#- LOG_DIR_PERMISSIONS=-1
|
|
- LOG_DIR=/backup/logs
|
|
- LOG_LEVEL=INFO
|
|
#- LOG_CLEAR_AT_START=true
|
|
- BACKUP_ON_STARTUP=true
|
|
#- ENCRYPTION_PASSWORD=testtest
|
|
#- ENCRYPTION_BASE64_GPG_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