Very simple image to sync volumes and S3 buckets.
ACCESS_KEY
- AWS Access KeySECRET_KEY
- AWS Secret Access KeySOURCE_PATH
- Source files to be synced, example:/var/www/uploads
DESTINATION_PATH
- Destination of where to sync files to, example:s3://my-bucket/site-uploads
BUCKET_LOCATION
- AWS Region for bucket, ex:eu-west-1
Edit docker-compose.yml with your configuration and execute:
docker-compose up
Edit kubernetes.yml with your configuration and execute:
kubectl apply -f kubernetes.yml
You could use CronJobs to execute it periodically.
Image available at Docker Hub