{"id":13503229,"url":"https://github.com/tchellomello/pulp3-docker","last_synced_at":"2025-04-09T17:31:08.506Z","repository":{"id":73821907,"uuid":"141205759","full_name":"tchellomello/pulp3-docker","owner":"tchellomello","description":"Pulp3 Docker","archived":false,"fork":false,"pushed_at":"2018-07-19T02:18:13.000Z","size":25,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T19:39:06.316Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tchellomello.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2018-07-16T23:31:26.000Z","updated_at":"2023-11-02T05:54:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdea7473-3635-4910-988e-33d881fcf4c4","html_url":"https://github.com/tchellomello/pulp3-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/tchellomello%2Fpulp3-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchellomello%2Fpulp3-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchellomello%2Fpulp3-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchellomello%2Fpulp3-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tchellomello","download_url":"https://codeload.github.com/tchellomello/pulp3-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248077230,"owners_count":21043919,"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-07-31T22:02:42.800Z","updated_at":"2025-04-09T17:31:08.355Z","avatar_url":"https://github.com/tchellomello.png","language":"Shell","readme":"# pulp3-docker\nThis is an still **development** project to run Pulp v3 on a docker compose/swarm environment using a loadbalancer. \n\nTo run the project, make sure you have working Docker and that you installed the `docker-compose` software. \n\n** Checkout the repository:\n\n```bash\n$ git clone https://github.com/tchellomello/pulp3-docker.git\n```\n\n** Start the docker-compose\n```bash\n$ cd pulp3-docker\n$ docker-compose -p pulpv3 up\n\n$ docker ps \nCONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS              PORTS                                        NAMES\n4e2d2e44dd63        tchellomello/pulp-web:nightly      \"/nightly/docker-ent…\"   12 seconds ago      Up 10 seconds       0.0.0.0:8000-\u003e8000/tcp                       pulpv3_pulp_web_1\n67ad6fc825e4        tchellomello/pulp-worker:nightly   \"/nightly/docker-ent…\"   8 minutes ago       Up 11 seconds                                                    pulpv3_worker_1\n2b61a699f734        tchellomello/pulp-worker:nightly   \"/nightly/docker-ent…\"   8 minutes ago       Up 12 seconds                                                    pulpv3_resource_manager_1\n6871baf88fd6        postgres:latest                    \"docker-entrypoint.s…\"   8 minutes ago       Up 14 seconds       0.0.0.0:5432-\u003e5432/tcp                       pulpv3_pgsql_1\n48409f19a154        redis:4-alpine                     \"docker-entrypoint.s…\"   8 minutes ago       Up 13 seconds       0.0.0.0:6379-\u003e6379/tcp                       pulpv3_redis_1\n7ea97cdfb7b9        traefik:latest                     \"/traefik --defaulte…\"   8 minutes ago       Up 15 seconds       0.0.0.0:80-\u003e80/tcp, 0.0.0.0:8080-\u003e8080/tcp   pulpv3_reverse_proxy_1\n\n```\n** To test, open a console to one running worker\n```bash\n$ docker exec -it pulpv3_worker_1 /bin/bash\nbash-4.4# psql -h pgsql -U pulp\nPassword for user pulp: \npsql (10.4)\nType \"help\" for help.\n\npulp=# select * from pulp_app_worker ;\n                  id                  |            created            |         last_updated          |                    name                     |        last_heartbeat         | gracefully_stopped | cleaned_up \n--------------------------------------+-------------------------------+-------------------------------+---------------------------------------------+-------------------------------+--------------------+------------\n 6deeb82e-ce4b-4c24-b1ef-88aa68fda053 | 2018-07-18 20:34:28.81905+00  | 2018-07-18 20:34:28.819073+00 | reserved_resource_worker_17515@67ad6fc825e4 | 2018-07-18 20:34:58.971157+00 | f                  | f\n 8c18a5ba-a14d-4756-bae7-8ef797ea6c0f | 2018-07-18 20:34:27.005369+00 | 2018-07-18 20:34:27.005395+00 | reserved_resource_worker_14228@2b61a699f734 | 2018-07-18 20:35:12.212595+00 | f                  | f\n(2 rows)\n```\n\n\n** Note that the port 80 on the host is being loadbalanced but for troubleshooting, the port 8000 is also published bypassing the loadbalancer. To test it:\n\n```bash\n# via loadbalancer\n$ curl -H Host:worker.example.com http://127.0.0.1\n\n# bypassing \n$ curl http://127.0.0.1:8000\n```","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchellomello%2Fpulp3-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftchellomello%2Fpulp3-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchellomello%2Fpulp3-docker/lists"}