Installation¶
pkggate can be run via Docker (recommended), Docker Compose, or directly from source.
Docker (recommended)¶
Pull the published image from GitHub Container Registry:
Run with default settings (listens on port 8080):
Mount a custom policy file:
docker run -p 8080:8080 \
-v $(pwd)/config/policy.yaml:/app/config/policy.yaml \
ghcr.io/daneb255/pkggate:latest
Docker Compose¶
The included docker-compose.yml builds locally if no image is present:
To use the pre-built image instead of building from source, set the image tag in your compose override:
From source¶
Requirements: Python 3.12+
Start the proxy:
Or via the Makefile:
Verifying the installation¶
Once running, confirm the proxy is healthy:
Expected response: {"status":"ok"}