{"id":22929421,"url":"https://github.com/djmaze/gluster-on-docker","last_synced_at":"2025-04-01T16:23:02.107Z","repository":{"id":33433629,"uuid":"37078941","full_name":"djmaze/gluster-on-docker","owner":"djmaze","description":"Containerized Gluster cluster using Docker","archived":false,"fork":false,"pushed_at":"2015-06-08T16:39:49.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T16:00:28.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/djmaze.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}},"created_at":"2015-06-08T16:31:35.000Z","updated_at":"2016-04-30T13:56:52.000Z","dependencies_parsed_at":"2022-09-12T19:31:42.390Z","dependency_job_id":null,"html_url":"https://github.com/djmaze/gluster-on-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/djmaze%2Fgluster-on-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djmaze%2Fgluster-on-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djmaze%2Fgluster-on-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djmaze%2Fgluster-on-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djmaze","download_url":"https://codeload.github.com/djmaze/gluster-on-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246669023,"owners_count":20814749,"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-14T09:33:48.259Z","updated_at":"2025-04-01T16:23:02.082Z","avatar_url":"https://github.com/djmaze.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker images for testing a Gluster setup\n\n## Usage\n\nRun a new server:\n\n    docker-compose run server bash\n\nIn a new terminal, run a second server, connecting to the first one:\n\n    docker-compose run -e GLUSTER_PEER=$IP_OF_FIRST_SERVER server create\n\nIn a new terminal, start a third node:\n\n    docker-compose run server bash\n\nFrom the first or second node's terminal, add the third node:\n\n    gluster peer probe $IP_OF_THIRD_NODE\n    gluster volume add-brick $VOLUME_NAME $IP_OF_THIRD_NODE:$VOLUME_PATH\n\n## Connect a client\n\nRun a client, giving the IP of any gluster server:\n\n    docker-compose run client $IP_OF_ANY_SERVER\n\nThe volume is now mounted at `/mnt/gluster-volume`.\n\n## Replace a server\n\nTo replace `$OLD_HOST` in a volume with `$NEW_HOST`, run (on one of the servers):\n\n    OLD_HOST=172.17.0.12\n    NEW_HOST=172.17.0.13\n\n    gluster peer probe $NEW_HOST\n    gluster volume replace-brick $VOLUME_NAME $OLD_HOST:$VOLUME_PATH $NEW_HOST:$VOLUME_PATH commit force\n    gluster peer detach $OLD_HOST\n    gluster volume rebalance $VOLUME_NAME start\n\n## References\n\nSee [this post](https://www.gluster.org/pipermail/gluster-users/2012-October/011502.html) for how to replace bricks in volumes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjmaze%2Fgluster-on-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjmaze%2Fgluster-on-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjmaze%2Fgluster-on-docker/lists"}