diff --git a/docker-compose.yml b/docker-compose.yml index 1f893f4..dedf3b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -157,6 +157,7 @@ services: - "${ANY_SYNC_NODE_1_METRIC_ADDR}:8000" volumes: - ./etc/any-sync-node-1:/etc/any-sync-node:Z + - ./etc/.aws:/root/.aws:ro - "${STORAGE_DIR}/any-sync-node-1:/storage:Z" - "${STORAGE_DIR}/anyStorage/any-sync-node-1:/anyStorage:Z" - "${STORAGE_DIR}/networkStore/any-sync-node-1:/networkStore:Z" @@ -178,6 +179,7 @@ services: - "${ANY_SYNC_NODE_2_METRIC_ADDR}:8000" volumes: - ./etc/any-sync-node-2:/etc/any-sync-node:Z + - ./etc/.aws:/root/.aws:ro - "${STORAGE_DIR}/any-sync-node-2:/storage:Z" - "${STORAGE_DIR}/anyStorage/any-sync-node-2:/anyStorage:Z" - "${STORAGE_DIR}/networkStore/any-sync-node-2:/networkStore:Z" @@ -199,6 +201,7 @@ services: - "${ANY_SYNC_NODE_3_METRIC_ADDR}:8000" volumes: - ./etc/any-sync-node-3:/etc/any-sync-node:Z + - ./etc/.aws:/root/.aws:ro - "${STORAGE_DIR}/any-sync-node-3:/storage:Z" - "${STORAGE_DIR}/anyStorage/any-sync-node-3:/anyStorage:Z" - "${STORAGE_DIR}/networkStore/any-sync-node-3:/networkStore:Z" diff --git a/docker-generateconfig/etc/node-1.yml b/docker-generateconfig/etc/node-1.yml index 4ec89f4..f9a0adb 100644 --- a/docker-generateconfig/etc/node-1.yml +++ b/docker-generateconfig/etc/node-1.yml @@ -28,3 +28,16 @@ storage: nodeSync: periodicSyncHours: 2 syncOnStart: true + +s3Store: + enabled: true + region: us-east-1 + endpoint: http://minio:%MINIO_PORT% + bucket: %MINIO_BUCKET% + keyPrefix: "node_storage/node-1" + forcePathStyle: true # 'true' for self-hosted S3 Object Storage + +archive: + enabled: true + archiveAfterDays: 1 + checkPeriodMinutes: 2 diff --git a/docker-generateconfig/etc/node-2.yml b/docker-generateconfig/etc/node-2.yml index 5679788..5dde287 100644 --- a/docker-generateconfig/etc/node-2.yml +++ b/docker-generateconfig/etc/node-2.yml @@ -28,3 +28,16 @@ storage: nodeSync: periodicSyncHours: 2 syncOnStart: true + +s3Store: + enabled: true + region: us-east-1 + endpoint: http://minio:%MINIO_PORT% + bucket: %MINIO_BUCKET% + keyPrefix: "node_storage/node-2" + forcePathStyle: true # 'true' for self-hosted S3 Object Storage + +archive: + enabled: true + archiveAfterDays: 1 + checkPeriodMinutes: 2 diff --git a/docker-generateconfig/etc/node-3.yml b/docker-generateconfig/etc/node-3.yml index da6a304..b2ea68f 100644 --- a/docker-generateconfig/etc/node-3.yml +++ b/docker-generateconfig/etc/node-3.yml @@ -28,3 +28,16 @@ storage: nodeSync: periodicSyncHours: 2 syncOnStart: true + +s3Store: + enabled: true + region: us-east-1 + endpoint: http://minio:%MINIO_PORT% + bucket: %MINIO_BUCKET% + keyPrefix: "node_storage/node-3" + forcePathStyle: true # 'true' for self-hosted S3 Object Storage + +archive: + enabled: true + archiveAfterDays: 1 + checkPeriodMinutes: 2