++ fix
This commit is contained in:
12
.env.example
12
.env.example
@@ -41,15 +41,15 @@ TZ=Europe/Rome
|
||||
# {
|
||||
# "id": "sync_identifier",
|
||||
# "bucket": "bucket-name",
|
||||
# "path": "/mount/path/in/container",
|
||||
# "local_path": "/mount/path/in/container",
|
||||
# "interval": 300
|
||||
# }
|
||||
#
|
||||
# Esempio con 2 sync:
|
||||
#
|
||||
SYNC_CONFIGS='[
|
||||
{"id": "sync1", "bucket": "bucket-a", "path": "/data/local", "interval": 300},
|
||||
{"id": "sync2", "bucket": "bucket-b", "path": "/data/local2", "interval": 600}
|
||||
{"id": "sync1", "bucket": "bucket-a", "local_path": "/data/local1", "interval": 300},
|
||||
{"id": "sync2", "bucket": "bucket-b", "local_path": "/data/local2", "interval": 600}
|
||||
]'
|
||||
|
||||
# ============================================================
|
||||
@@ -67,8 +67,12 @@ GOTIFY_PRIORITY=5
|
||||
# multiple sync nel docker-compose.yml:
|
||||
#
|
||||
# volumes:
|
||||
# - ./data/sync1:/data/local # Primo sync
|
||||
# - ./data/sync1:/data/local1 # Primo sync
|
||||
# - ./data/sync2:/data/local2 # Secondo sync
|
||||
# - sync-state:/data/state # Stato condiviso
|
||||
#
|
||||
LOCAL_SYNC_PATH_1=./data/sync1
|
||||
LOCAL_SYNC_PATH_2=./data/sync2
|
||||
|
||||
# Fallback legacy (sync singola)
|
||||
LOCAL_SYNC_PATH=./data
|
||||
|
||||
Reference in New Issue
Block a user