Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
b04a4faa0a add nomadnet 2025-12-17 21:42:27 -07:00
4 changed files with 30 additions and 0 deletions

20
nomadnet/Containerfile Normal file
View file

@ -0,0 +1,20 @@
FROM debian:stable-slim
# INSTALL PYTHON
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-venv \
python3-pip && \
apt-get clean
# SET UP VENV AND INSTALL RNSD
WORKDIR /app
COPY setup.sh ./
RUN ./setup.sh
# LOAD RUN SCRIPT
COPY run.sh ./
ENTRYPOINT ["bash","/app/run.sh"]

2
nomadnet/launch.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
podman run --rm -d --network=host -v ./config:/app/config:Z -v ~/.config/rnsd:/app/reticulum:Z nomadnet

3
nomadnet/run.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
source venv/bin/activate
nomadnet --config /app/config --rnsconfig /app/reticulum -d

5
nomadnet/setup.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
pwd
python3 -m venv venv
source venv/bin/activate
pip install nomadnet