{"id":19892598,"url":"https://github.com/compscidr/chia-plotter-docker","last_synced_at":"2025-05-02T18:31:48.181Z","repository":{"id":39880180,"uuid":"366233112","full_name":"compscidr/chia-plotter-docker","owner":"compscidr","description":"Chia plotter image that uses ssh to sync plots back to a central store","archived":true,"fork":false,"pushed_at":"2024-04-26T01:11:59.000Z","size":26,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T19:29:42.702Z","etag":null,"topics":["chia","chia-blockchain","plots","plotter"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/compscidr.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}},"created_at":"2021-05-11T02:30:33.000Z","updated_at":"2024-05-08T17:18:38.000Z","dependencies_parsed_at":"2024-04-26T02:27:32.370Z","dependency_job_id":"8aaf725b-87a0-4e9a-b8a8-faf4d76a69f5","html_url":"https://github.com/compscidr/chia-plotter-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fchia-plotter-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fchia-plotter-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fchia-plotter-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/compscidr%2Fchia-plotter-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/compscidr","download_url":"https://codeload.github.com/compscidr/chia-plotter-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252088597,"owners_count":21692825,"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":["chia","chia-blockchain","plots","plotter"],"created_at":"2024-11-12T18:24:23.455Z","updated_at":"2025-05-02T18:31:45.222Z","avatar_url":"https://github.com/compscidr.png","language":"Dockerfile","readme":"# chia-plotter\nThis image is solely meant for chia plotting. The idea is it is run remotely\non machines and the plots are sent back to somewhere else to be farmed. This\nworks well if the remote machine doesn't have alot of storage but can make plots\nquickly (ie: on digital ocean or something).\n\nThe farmer key and pool key can be set via env variables.\n\nOn the host machine running the container, you will need to set it up so that it\nhas the ssh key of the machine you want to store the plots on, and it has the\nssh config setup to use that key. For instance, you might have something like\nthis:\n```\nHost myhost.host.com\n  Hostname myhost.host.com\n  User someuser\n  IdentityFile: ~/.ssh/id_rsa\n```\nOn the machine where the plots are stored, the corresponding key would be in\nthe authorized_keys file.\n\nFrom the host you should be able to do `ssh myhost.host.com` without using a\npassword if this is setup correctly.\n\nhttps://hub.docker.com/repository/docker/compscidr/chia-plotter-docker\n\n## Running:\nFrom dockerhub:\n```\ndocker run -e FARMER_KEY=YOURFKEY \\\n  -e POOL_KEY=YOURPKEY \\\n  -e SYNC_HOST=HOST/IP FOR PLOTS TO END UP \\\n  -e SYNC_PATH=PATH FOR PLOTS TO END UP \\\n  -v HOST MACHINE SSH FOLDER:/root/.ssh \\\n  compscidr/chia-plotter-docker\n```\n\nFor instance:\n```\ndocker run -e FARMER_KEY=a9c6b0c8abef42313ca57338d0f112f5bf0d40cef0c1f7de3e8b0140c488c4cde58b38b8869bd42617b49811a95e4130 \\\n  -e POOL_KEY=b1eec16b3a2ce1d15937f0c076995a42a9c5435730d4d28010febc75075a392f6919d167c278095b10153cec9a9ec77f \\\n  -e SYNC_HOST=home.jasonernst.com \\\n  -e SYNC_PATH=/plots \\\n  -v ~/ssh:/root/.ssh \\\n  compscidr/chia-plotter-docker\n```\n\nAlternatively, use the docker-compose file, adjust the environment variables:\n\n```\ndocker-compose up\ndocker-compose build\n```\n\n## Changing the temp dir and plot dir\nBy default, plotting happens in /tmp and /plots on the container. After each\nplot it will clear the /plots after it has synced to the storage machine. You\nmay still wish to have have this located in a different location (by default it\n  would be `/var/lib/docker/volumes` on the host machine. )\n\nYou can control the location of the local (within container location of these\n  directories with $TEMPDIR and $PLOTDIR), and then you can use mounts to change\n  the location on the host machine. For instance:\n```\ndocker run -e FARMER_KEY=YOURFKEY \\\n  -e POOL_KEY=YOURPKEY \\\n  -e SYNC_HOST=HOST/IP FOR PLOTS TO END UP \\\n  -e SYNC_PATH=PATH FOR PLOTS TO END UP \\\n  -v HOST MACHINE SSH FOLDER:/root/.ssh \\\n  -v /tmp:/tmp \\\n  -v /plots:/plots \\\n  compscidr/chia-plotter-docker\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscidr%2Fchia-plotter-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompscidr%2Fchia-plotter-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompscidr%2Fchia-plotter-docker/lists"}