{"id":16100023,"url":"https://github.com/fooock/deploy-ipfs-docker","last_synced_at":"2025-04-05T23:33:29.566Z","repository":{"id":128382137,"uuid":"139067565","full_name":"fooock/deploy-ipfs-docker","owner":"fooock","description":"Deploy and test IPFS using Docker","archived":false,"fork":false,"pushed_at":"2018-06-28T20:57:38.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T05:56:56.272Z","etag":null,"topics":["deployment","docker","ipfs"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/fooock.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":"2018-06-28T20:57:10.000Z","updated_at":"2019-09-09T04:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"144d6260-9c68-4f10-9daa-5c8dc7fdb47c","html_url":"https://github.com/fooock/deploy-ipfs-docker","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/fooock%2Fdeploy-ipfs-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooock%2Fdeploy-ipfs-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooock%2Fdeploy-ipfs-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fooock%2Fdeploy-ipfs-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fooock","download_url":"https://codeload.github.com/fooock/deploy-ipfs-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415824,"owners_count":20935384,"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":["deployment","docker","ipfs"],"created_at":"2024-10-09T18:44:48.350Z","updated_at":"2025-04-05T23:33:29.545Z","avatar_url":"https://github.com/fooock.png","language":"Makefile","readme":"# IPFS on Docker\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nDeploy IPFS with Docker using make. You can customize multiple things.\n\n## Requirements\nYou only need:\n* [Docker](https://docs.docker.com/)\n* Make\n\nIf you have `Ubuntu`, to install make simply use:\n\n```bash\n$ sudo apt-get install make\n```\n\n## Build params\nYou can customize multiple params. See next table.\n\n| Param         \t| Description                                                         \t| Default value         |\n|---------------\t|---------------------------------------------------------------------\t|---------------------  |\n| `NAME`          \t| Name of the docker image                             \t                | `ipfs-host` \t        |\n| `STAGING_DIR`    \t| The maximum amount of memory the container can use                  \t| `$HOME/ipfs/staging`  |\n| `DATA_DIR`     \t| The amount of memory this container is allowed to swap to disk      \t| `$HOME/ipfs/data`     |\n| `COMMAND`        \t| Specify how much of the available CPU resources a container can use \t| `version`             |\n| `RES`         \t| Specify how much of the available CPU resources a container can use \t|                       |\n\n## Targets\nYou can execute these targets:\n\n| Param     \t| Description                                                \t|\n|-----------\t|------------------------------------------------------------\t|\n| `build`   \t| Pull the image and create the directory to store ipfs data \t|\n| `start`   \t| Start the IPFS daemon                                      \t|\n| `logs`    \t| Show the IPFS logs                                         \t|\n| `command` \t| Execute an IPFS command. For example, `version`            \t|\n| `add`     \t| Add a file or directory to IPFS                            \t|\n| `stop`    \t| Stop and clean the IPFS docker container                   \t|\n\n\n## Example\nIf you want to add a directory from the current directory like:\n\n```bash\n.\n├── test\n│   └── b.txt\n```\n\nThen\n\n```bash\n$  make RES=test add\ndocker exec ipfs-host ipfs add -r /export/test\nadded QmeQkPj49FbmJ5BPjzg5GWS3VKmLP88f15n5zkzsSf4fKM test/b.txt\nadded QmPRhop3GJ4FyEzBNWM9JKVG4Hm1v4HKdyvfEUHdytHb7P test\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffooock%2Fdeploy-ipfs-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffooock%2Fdeploy-ipfs-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffooock%2Fdeploy-ipfs-docker/lists"}