Install & first run
Build from source
Section titled “Build from source”git clone https://github.com/routsom/portculliscd portculliscargo build --release # produces ./target/release/portcullisRequires a stable Rust toolchain (edition 2024, rustc ≥ 1.85). The full
developer gate is just check (fmt, clippy, cargo-deny, tests, directive checks).
Provide secrets via the environment
Section titled “Provide secrets via the environment”portcullis never stores secret values in config — only the names of the environment variables that hold them (Directive #2):
export PORTCULLIS_TOKEN_AGENT="$(openssl rand -hex 32)"export PORTCULLIS_SESSION_SECRET="$(openssl rand -hex 32)"Check your setup
Section titled “Check your setup”portcullis doctor --config examples/portcullis.tomldoctor diagnoses config, upstream connectivity, clock skew, and sandbox
availability in one command, and exits non-zero on a failing check.
portcullis serve --config examples/portcullis.tomlNext: Your first proxied server.