mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
19 lines
587 B
YAML
19 lines
587 B
YAML
---
|
|
########################################################################
|
|
# pypiserver docker-compose example
|
|
########################################################################
|
|
|
|
version: "3"
|
|
|
|
services:
|
|
pypiserver:
|
|
image: pypiserver:latest
|
|
volumes:
|
|
# Mount local /tmp/pypiserver to /data in container
|
|
- /tmp/pypiserver:/data
|
|
# Use an .htaccess file to control access, serve packages from
|
|
# /tmp/pypiserver/packages (/data/packages in the container)
|
|
command: -P /data/.htaccess -a update,download,list /data/packages
|
|
ports:
|
|
- "80:8080"
|