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:
Derick Phan 2026-03-26 18:44:26 -07:00 committed by lichenblankie
parent 0c32da4322
commit 2e98bde3a6
4 changed files with 49 additions and 2 deletions

View file

@ -11,6 +11,8 @@ RUN mkdir -p /data \
&& ln -sf /data/index.db index.db \
&& ln -sf /data/tinyweb_identity tinyweb_identity
ENV PYTHONUNBUFFERED=1
EXPOSE 8080
CMD ["python", "app.py"]
ENTRYPOINT ["./entrypoint.sh"]