add port forwarding

This commit is contained in:
2025-03-12 09:59:31 +03:00
parent 4404897a23
commit 08f192715b
4 changed files with 28 additions and 2 deletions

View File

@@ -21,6 +21,9 @@ services:
- "./yggdrasil:/etc/yggdrasil"
sysctls:
- "net.ipv6.conf.all.disable_ipv6=0"
environment:
- BIND_PORT=80
- BIND_ADDRESS=nginx
```
## docker cli
@@ -36,3 +39,12 @@ docker run \
yggdrasil
```
# Parameters
Container images are configured using parameters passed at runtime.
|Parameter|Function|
|:--------|:-------|
|-e BIND_PORT|Port to forward.|
|-e BIND_ADDRESS|Address of another docker service to forward to.|