Add entrypoint script for configurable Reticulum networking in Docker
Replaces static CMD with an entrypoint that generates RNS config from environment variables (RNS_TCP_HOST/PORT), enabling TCP transport for environments without LAN auto-discovery (e.g. Docker on macOS). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ddaba43710
commit
5f8863ce77
4 changed files with 47 additions and 2 deletions
2
app.py
2
app.py
|
|
@ -42,7 +42,7 @@ def start_gateway(reticulum):
|
|||
|
||||
def main():
|
||||
init_db()
|
||||
reticulum = RNS.Reticulum()
|
||||
reticulum = RNS.Reticulum(configdir=os.environ.get("RNS_CONFIG_DIR"))
|
||||
identity = load_or_create_identity()
|
||||
|
||||
destination = RNS.Destination(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue