{"id":24110533,"url":"https://github.com/ehough/docker-duplicacy","last_synced_at":"2025-05-13T00:36:13.532Z","repository":{"id":147166513,"uuid":"167261847","full_name":"ehough/docker-duplicacy","owner":"ehough","description":"Duplicacy Web Edition in a container","archived":false,"fork":false,"pushed_at":"2022-09-09T01:25:06.000Z","size":24,"stargazers_count":35,"open_issues_count":8,"forks_count":14,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-01T05:11:11.988Z","etag":null,"topics":["docker","duplicacy"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/erichough/duplicacy","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ehough.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-01-23T22:09:10.000Z","updated_at":"2025-03-14T14:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"20c145b3-24d8-425a-8966-10a34bdd01d7","html_url":"https://github.com/ehough/docker-duplicacy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehough%2Fdocker-duplicacy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehough%2Fdocker-duplicacy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehough%2Fdocker-duplicacy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ehough%2Fdocker-duplicacy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ehough","download_url":"https://codeload.github.com/ehough/docker-duplicacy/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850678,"owners_count":21973663,"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":["docker","duplicacy"],"created_at":"2025-01-11T01:15:29.629Z","updated_at":"2025-05-13T00:36:13.509Z","avatar_url":"https://github.com/ehough.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erichough/duplicacy\n\n[Duplicacy Web Edition](https://forum.duplicacy.com/t/duplicacy-web-edition-1-0-0-is-now-available/2053/2) in a container.\n\n## Quick Start\n\n1. `docker run -p 3875:3875 erichough/duplicacy` \n\n1. Visit [`http://localhost:3875`](http://localhost:3875)\n\n## Production Usage\n\n1. Bind-mount a host directory into the container at `/etc/duplicacy` to view, edit, and/or backup your configuration files (i.e. `duplicacy.json` and `settings.json`).\n1. Bind-mount a host directory into the container at `/var/cache/duplicacy` to retain statistics and cached data between container starts, stops, and restarts.\n1. Set your container's timezone using one of the following techniques:\n   1. Set the `TZ` environment variable to your desired [timezone name](https://wikipedia.org/wiki/List_of_tz_database_time_zones#List).\n\n       `docker run -e TZ=America/LosAngeles ... erichough/duplicacy`\n\n   1. Bind-mount `/etc/localtime` and `/etc/timezone` into the container. e.g.\n\n      ```\n      docker run                             \\\n        -v /etc/localtime:/etc/localtime:ro  \\\n        -v /etc/timezone:/etc/timezone:ro    \\\n        ...                                  \\\n        erichough/duplicacy\n      ```\n1. Add `--cap-drop=ALL` for extra security.\n1. Add `--restart=always` to be able to make changes via the settings page.\n\n## Duplicacy license\n\n*NOTE: If you don't need to purchase a Duplicacy license, you can safely ignore this section.*\n\nDuplicacy identifies the machine via the hostname and [`machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html) pair. So in order to utilize a license, you'll need to make sure that both of these pieces of data do not change over time.\n\n1. Add `--hostname` to your to your `docker run` command to set a persistent hostname for the container.\n1. Supply a persistent `machine-id`, which is a 32-character lowercase hexadecimal string.\n\n   Here are a few ways to supply a `machine-id`; choose whichever your like:\n  \n    1. **Option 1**. Bind-mount an existing `machine-id` into the container at `/var/lib/dbus/machine-id`.\n    \n       e. g. `docker run -v /host/path/to/machine-id:/var/lib/dbus-machine-id:ro ...`\n    1. **Option 2**. Supply the `MACHINE_ID` environment variable to the container. You can generate a random string using online tools ([example](https://www.browserling.com/tools/random-hex)).\n    \n       e.g. `docker run -e MACHINE_ID=b23c9e0140e92b10c2baaf1f82571a2f ...`\n    1. **Option 3**. Bake `/var/lib/dbus/machine-id` into a custom image. e.g. in a `Dockerfile`\n    \n       ```yaml\n       FROM erichough/docker-duplicacy\n       COPY files/machine-id /var/lib/dbus/machine-id\n       ```\n\n## Sample `docker-compose.yml`\n\n```yaml\nversion: '3.7'\nservices:\n  duplicacy:\n    image: erichough/duplicacy\n    hostname: duplicacy-web\n    restart: always\n    ports:\n      - 3875:3875\n    cap_drop:\n      - ALL\n    environment:\n      TZ: America/New_York\n      MACHINE_ID: 4c601d79a045519397ade28a2f79e3d3\n    volumes:\n      - /host/path/to/config:/etc/duplicacy\n      - /host/path/to/cache:/var/cache/duplicacy\n      - /host/path/to/some-storage:/storage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehough%2Fdocker-duplicacy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehough%2Fdocker-duplicacy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehough%2Fdocker-duplicacy/lists"}