forked from github.com/pypiserver
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"
|