Sign inSign up

b2un0/s3cmd

By b2un0

Updated 3 months ago

simple s3cmd wrapper

Image
0

1.6K

b2un0/s3cmd repository overview

docker s3cmd wrapper

simple docker container to run (scheduled) s3cmd

docker-compose.yml example

Note: you must create your .s3cfg first!

services:
    something:
        image: ghcr.io/b2un0/docker-s3cmd:latest
        restart: unless-stopped
        network_mode: bridge
        # command: "s3cmd ls" # for one shot
        # command: "${CRON_CMD}" # test your CRON_CMD
        volumes:
            - ./root/.s3cfg:/root/.s3cfg:ro
            - /opt/homebridge/data/backups:/sync/homebridge/:ro
            - /opt/deconz/:/sync/deconz/:ro
            - /opt/nodered/:/sync/nodered/:ro
        environment:
            SCHEDULE: "15 3 * * *" # https://crontab.guru/
            CRON_CMD: "s3cmd sync --dry-run /sync s3://some-bucket"

Tag summary

Content type

Image

Digest

sha256:34e89d9b1

Size

61.2 MB

Last updated

about 3 years ago

docker pull b2un0/s3cmd