Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jlesquembre/devpi-docker
Devpi in Docker
https://github.com/jlesquembre/devpi-docker
Last synced: 11 days ago
JSON representation
Devpi in Docker
- Host: GitHub
- URL: https://github.com/jlesquembre/devpi-docker
- Owner: jlesquembre
- License: gpl-2.0
- Archived: true
- Created: 2014-10-12T13:26:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-14T17:02:48.000Z (about 10 years ago)
- Last Synced: 2024-08-01T10:17:23.124Z (3 months ago)
- Language: Shell
- Size: 141 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Devpi for Docker
================Script to create and manage multiple docker_ containers serving devpi_ through
nginx with SSL support.Quickstart
----------Run the command `devpi-docker start`, first time it will take some time to
download the docker images. Once the command finish, try to open
https://localhost:3142/ to see if is working. You can find the ssl certificates
used by nginx at `~/devpi_certs`Run `devpi-docker local_install` to avoid the ssl warning on chromium/chrome
and to generate a pip.conf file which will use devpi by default.If your linux distro is using systemd, you can install `this service
`_ to use the url
https://devpi:3142/ instead of localhostIf you have any problem, write me or open a `new issue on github
`_.
I'm more than happy about questions and discussions about the project.Command reference
------------------ devpi-docker start
Setup and run devpi using docker containers- devpi-docker stop
Stop the docker containers- devpi-docker update
Update devpi to the latest version- devpi-docker rm
Stop and remove the docker containers.. note::
You will lose all your devpi configuration and packages. Do a
backup before!- devpi-docker gen_cert
Generate a new ssl certificate for nginx- devpi-docker local_install
Install the ssl certificate in chromium/chrome database and generate a
basic pip.conf fileDevpi client quick start
------------------------#. Use devpi-docker index
.. code-block:: bashdevpi use https://devpi:3142
# OR use localhost if you don't use consul
devpi use https://localhost:3142#. Create a user
.. code-block:: bashdevpi user -c $USER
#. Login as user
.. code-block:: bashdevpi login $USER
#. Create index
.. code-block:: bashdevpi index -c dev
#. Set new index as default
.. code-block:: bashdevpi use dev
.. _Docker: https://www.docker.com/
.. _Devpi: http://doc.devpi.net/