{"id":22325077,"url":"https://github.com/rogercoll/s3sidecar","last_synced_at":"2025-10-04T10:22:19.525Z","repository":{"id":113987620,"uuid":"403020112","full_name":"rogercoll/s3sidecar","owner":"rogercoll","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-18T11:18:58.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T14:52:51.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rogercoll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-04T09:50:16.000Z","updated_at":"2021-09-18T11:19:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"a89fedee-b099-4afb-ae8a-50d02d5a37cf","html_url":"https://github.com/rogercoll/s3sidecar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2Fs3sidecar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2Fs3sidecar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2Fs3sidecar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2Fs3sidecar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogercoll","download_url":"https://codeload.github.com/rogercoll/s3sidecar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245598310,"owners_count":20641884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-04T02:10:06.622Z","updated_at":"2025-10-04T10:22:14.474Z","avatar_url":"https://github.com/rogercoll.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3 Sidecar container\n\nA container downloads a compressed file from S3 into a local directory (e.g `/data`) which can be a shared volume with other containers. In addition, it will check if the file has been modified in the bucket, if so, download it again.\n\nAn additional directory can be defined for updating the S3 file (e.g `/data/upload`), if a file is found in that directory for the given file key, it will upload the object to S3 if is newer (timestamp) than the upstream.\n\n\n## Docker compose example\n\n\n```yaml\nversion: \"2\"\nservices:\n  telegrambot:\n    image: mydict\n    container_name: mydictbot\n    volumes:\n      - /home/pi/dictdata:/var/lib/mydict\n    environment:\n      - BADGERDB_DIR=/var/lib/mydict\n      - BADGERDB_BCK_DIR=/var/bck/mydict\n    restart: always\n  dictdata:\n    image: s3sidecar\n    container_name: s3sidecar\n    volumes:\n      - /home/pi/dictdata:/data\n      - ~/.aws/:/root/.aws:ro\n    environment:\n      - AWS_REGION=eu-west-1\n      - S3_BUCKET=neckapps\n      - S3_OBJECT=dictionary.txt\n      - W_DIR=/data\n      - U_DIR=/data/upload\n      - INTERVAL=1800\n    restart: always\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogercoll%2Fs3sidecar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogercoll%2Fs3sidecar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogercoll%2Fs3sidecar/lists"}