A docker image to syncronise two S3-compatible storage buckets. It syncornizes only from the source to the destination.
Sync is using the minio-client's mirror
command.
All configuration is done via environment variables:
SOURCE_ENDPOINT
- Host for the source (eg.http://localhost:9000
)SOURCE_ACCESS_KEY
- Access-key/username for the sourceSOURCE_SECRET_KEY
- Secretkey/password for the sourceSOURCE_BUCKET
- The bucket on the source to replicateDESTINATION_ENDPOINT
- Host for the destination (eg.http://localhost:9000
)DESTINATION_ACCESS_KEY
- Access-key/username for the destinationDESTINATION_SECRET_KEY
- Secretkey/password for the destinationDESTINATION_BUCKET
- The bucket on the destination to replicateMINIO_EXTRA_ARGS
- Additiona arguments to pass to the underlyingmc mirror
commandHEALTHCHECK_URL
- URL to ping after the run