A minimal, configuration-driven, hyper-extensible HTTP proxy library written in Rust.
1.0K
A minimal, configuration-driven, hyper-extendible Rust HTTP proxy library.
Prerequisites: Docker 20.10+ installed
The project publishes multi‑arch images to GitHub Container Registry:
docker pull johansteffens/foxy:latest
Run the proxy, exposing the default port 8080 on your host:
docker run --rm -p 8080:8080 johansteffens/foxy:latest
config.json file on your host.0.0.0.0FOXY_CONFIG_FILE environment variable:docker run --rm -p 8080:8080 -v "$(pwd)/config.json:/app/config.json:ro" -e FOXY_CONFIG_FILE=/app/config.json -e RUST_LOG=debug johansteffens/foxy:latest
If you prefer docker compose, drop the snippet below into docker-compose.yml and run docker compose up -d:
version: "3.9"
services:
foxy:
image: johansteffens/foxy:latest
container_name: foxy
ports:
- "8080:8080"
environment:
# Tell Foxy to load the configuration we mounted
FOXY_CONFIG_FILE: /config/config.json
volumes:
# Mount your custom configuration
- ./config.json:/config/config.json:ro
Tip: When you update
config.json, simply restart the container with
docker compose restart foxyto pick up the changes.
Content type
Image
Digest
sha256:ee37117ea…
Size
9.4 MB
Last updated
12 months ago
docker pull johansteffens/foxy:0.3.12