Added optionnal online storage and cross-client sync
This commit is contained in:
@@ -19,3 +19,25 @@ services:
|
||||
volumes:
|
||||
- ./caddy/data:/data
|
||||
- ./caddy/config:/config
|
||||
|
||||
sync:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Sync.Dockerfile
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
SYNC_ORIGIN: https://${SITE_ADDRESS}
|
||||
SYNC_TRUST_PROXY: "1"
|
||||
SYNC_MAX_BYTES: ${SYNC_MAX_BYTES:-52428800}
|
||||
SYNC_MAX_VAULTS: ${SYNC_MAX_VAULTS:-10000}
|
||||
volumes:
|
||||
- sync-data:/data
|
||||
expose:
|
||||
- "3001"
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_drop:
|
||||
- ALL
|
||||
|
||||
volumes:
|
||||
sync-data:
|
||||
|
||||
Reference in New Issue
Block a user