Skip to content
a docker container that runs s3 sync every minute. Docker Hub: https://hub.docker.com/r/cohalz/cron-s3-sync
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile download on startup Jun 14, 2019
LICENSE
README.md
crontab
s3-sync.sh

README.md

cron-s3-sync

This runs s3 sync --exact-timestamps --delete every minute

Docker Hub

Usage

docker run --init \
  -e "AWS_ACCESS_KEY_ID=xxxxxxxxxx" \
  -e "AWS_SECRET_ACCESS_KEY=xxxxxxxxxx" \
  -e "S3_BUCKET=your-bucket" \
  -e "LOCAL_DIR=/tmp/dir/" \
  -e "SYNC_TYPE=PULL" \
  cohalz/cron-s3-sync
You can’t perform that action at this time.