Sign inSign up

wushaobo/devpi-server

By wushaobo

Updated over 8 years ago

Devpi-server with basic auth

Image
0

894

wushaobo/devpi-server repository overview

devpi-docker

You can setup your private pypi in docker.

feature

  • Pypi using devpi-server
  • Support web page and search
  • Using basic auth to protect your private package
  • Devpi user is ready with the same credential as the basic auth

build

Run docker-compose build in the home of this repo.

ship

You can find the docker image on DockerHub.

run

  1. Modify docker-compose.yml with the user name and password you would like, as well as the port forwarding.
  2. Auto deploy (or manually copy) the docker-compose.yml to the target server.
  3. Run docker-compose -f docker-compose.yml up -d devpi-server

verify

  • When opening web page, basic auth (demouser:demopwd) will be required.
  • When executing devpi use ADDRESS cmd, the ADDRESS has to be with basic auth
  • When executing devpi login USER_NAME, the PASSWORD works.
  • When installing pip package, you have to use extra index, like --extra-link-url=http://demouser:[email protected]:3141/demouser/dev/+simple

Tag summary

Content type

Image

Digest

Size

318.9 MB

Last updated

over 8 years ago

docker pull wushaobo/devpi-server