-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Reto Gantenbein edited this page May 20, 2026
·
3 revisions
If you want to run pkgproxy with a container compose tool such as Docker compose or Podman compose create a compose file like container-compose.yaml:
services:
proxy:
command:
- serve
- --host
- 0.0.0.0
- --config
- /ko-app/pkgproxy.yaml
- --cachedir
- /ko-app/cache
expose:
- "8080"
image: ghcr.io/ganto/pkgproxy:latest
ports:
- "8080:8080"
pull_policy: always
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- ./pkgproxy.yaml:/ko-app/pkgproxy.yaml:Z
- cache:/ko-app/cache
volumes:
cache:This requires a pkgconfig.yaml that is placed in the same directory as the compose file. If you want to use the embedded config simply omit the corresponding .volumes line.
For additional pkgproxy repository configuration examples see: Repository Examples