A static musl binary on an empty image, run as nobody, listening on 8080. scripts/publish-relay builds it from a clean, pushed commit of develop or main and pushes it to Gitea's registry, tagged with the commit and latest. The build context is an allowlist: never .env nor target/. RELAY_TRUSTED_PROXY also takes a network: Nginx Proxy Manager's address on the Docker network changes when it restarts. docs/service-relais.md gives the compose service, the env file, the NPM proxy host (no access log, Access List until #152), and how to update, change the key and check the restart and the per-address limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
148 B
Plaintext
8 lines
148 B
Plaintext
# Only what the relay's image needs goes into the build context: never .env nor target/.
|
|
*
|
|
!Cargo.toml
|
|
!Cargo.lock
|
|
!crates/
|
|
crates/*/target/
|
|
!site/
|