{"id":19150632,"url":"https://github.com/night-crawler/devpi-docker","last_synced_at":"2026-05-04T20:31:28.284Z","repository":{"id":72428932,"uuid":"116044861","full_name":"night-crawler/devpi-docker","owner":"night-crawler","description":"Ready to use devpi image","archived":false,"fork":false,"pushed_at":"2018-01-02T21:52:25.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T20:46:50.741Z","etag":null,"topics":["devpi","devpi-client","devpi-server","docker","docker-compose","pypi"],"latest_commit_sha":null,"homepage":"","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/night-crawler.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-01-02T18:29:55.000Z","updated_at":"2018-08-27T07:10:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3dc4ee2-bd86-4bc2-ad4a-eb9610ba0c91","html_url":"https://github.com/night-crawler/devpi-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/night-crawler/devpi-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Fdevpi-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Fdevpi-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Fdevpi-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Fdevpi-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/night-crawler","download_url":"https://codeload.github.com/night-crawler/devpi-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/night-crawler%2Fdevpi-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268322393,"owners_count":24231818,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["devpi","devpi-client","devpi-server","docker","docker-compose","pypi"],"created_at":"2024-11-09T08:12:35.710Z","updated_at":"2026-05-04T20:31:23.262Z","avatar_url":"https://github.com/night-crawler.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"### INSTALLATION\n\n1. Install latest `docker-ce` (17.12.0-ce) and `docker-compose` (1.18.0)\n2. Setup [nginx-proxy](https://github.com/jwilder/nginx-proxy), or [docker-compose-letsencrypt-nginx-proxy-companion](https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion)\n3. Ensure `nginx-network` exists and used by nginx-proxy:\n    - `docker network create --attachable --driver overlay --subnet 10.10.10.10/24 nginx-network`\n4. Clone:\n    - `git clone https://github.com/night-crawler/devpi-docker/`\n    - `cd devpi-docker`\n5. Tune environment: `cp .env.sample .env`\n6. `docker-compose up`\n7. Add `devpi.test` (or whatever) to `/etc/hosts`\n\n\n### USAGE\n\n#### Update `~/.pip/pip.conf`\n```ini\n[global]\nindex-url = http://devpi.test/root/pypi/+simple/\n\n[search]\nindex = http://devpi.test/root/pypi/\n\n[install]\ntrusted-host=devpi.test\n```\n\n#### Update `~/.pydistutils.cfg `\n```ini\n[easy_install]\nindex_url = http://devpi.test/root/pypi/+simple/\n```\n\n\n```bash\n# install devpi client\npip install devpi-client\n\n# set devpi server\ndevpi use http://devpi.test\n\n# login\ndevpi login root\n# enter password from .env file\n\n# set your email\ndevpi user -m root email=lilo.panic@gmail.com\n\n# change password\ndevpi user -m root password=ChangeMePlease\n\n# add `dev` index of main pypi\ndevpi index -c dev bases=root/pypi\n\n# use index\ndevpi use root/dev\n\n# install package\ndevpi install pytest\n# or\npip install django\n\n```\n\n#### Usage with SSL\n\nLet's assume volumes of `docker-compose-letsencrypt-nginx-proxy-companion` are mounted to \n`./data`:\n\n```bash\npwd\n# /docker/docker-compose-letsencrypt-nginx-proxy-companion]\n\nls ./data\n# certs  conf.d  html  htpasswd  vhost.d\n```\n\nPut into `./data/vhost.d/devpi.test_location`:\n```ini\nproxy_set_header X-outside-url $scheme://$host:$server_port;\nproxy_set_header X-Real-IP $remote_addr;\n```\n\n#### Usage with Basic HTTP Auth\n\nIn mounted data volume create `htpasswd/$VIRTUAL_HOST`: \n```bash\ncd /docker/docker-compose-letsencrypt-nginx-proxy-companion/data/htpasswd/\nhtpasswd -nbs user ChangeMePass \u003e\u003e devpi.test\n```\n\nChange links in your `~/.pip/pip.conf` according to scheme\n`http://username:password@server/whatever/`:\n\n```ini\n[global]\nindex-url = https://user:ChangeMePass@devpi.test/root/pypi/+simple/\n\n[search]\nindex = https://user:ChangeMePass@devpi.test/root/pypi/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-crawler%2Fdevpi-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnight-crawler%2Fdevpi-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnight-crawler%2Fdevpi-docker/lists"}