docker-compose
version: '2'
services:
devpi-suite:
image: registry.cn-shenzhen.aliyuncs.com/langly/devpi-suite:6.12.0
container_name: devpi-suite
restart: always
volumes:
- /data/devpi:/data
ports:
- 3141:3141
environment:
- DEVPI_PASSWORD=devpi_20240717
restart: always
1.Run the devpi-suite container
docker-compose up -d
2.Configure the root user password
docker exec -ti devpi-suite bash
devpi use http://localhost:3141/
devpi login root --password=''
devpi user -m root password="<your password>"
3.generating example config files for supervisor/nginx/cron/launchd
devpi-gen-config --port 4040 --serverdir ~/mydevpiserver