Package the relay as a container image, published by a local script (#151)
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>
This commit was merged in pull request #157.
This commit is contained in:
1 parent
fe36a431dc
commit
c7d0395502
6 files changed
+156
-7
No files matched your search
@@ -0,0 +1,7 @@
|
||||
# Only what the relay's image needs goes into the build context: never .env nor target/.
|
||||
*
|
||||
!Cargo.toml
|
||||
!Cargo.lock
|
||||
!crates/
|
||||
crates/*/target/
|
||||
!site/
|
||||
Reference in new issue
Block a user