added some stuff - initial compose file

This commit is contained in:
Evan H // KC2IHX
2025-11-29 17:24:44 -08:00
parent 010d52fcdf
commit 1eb84a1989
7 changed files with 76 additions and 0 deletions

11
.env Normal file
View File

@@ -0,0 +1,11 @@
#rigctld settings
RIG_MODEL=""
RIG_DEVICE=""
RIGCTLD_ARGS=""
PTT_METHOD=""
#direwolf settings
DIREWOLF_PORT=
ALSA_DEVICE=

View File

@@ -5,9 +5,23 @@ a draft repo for making a containerized farpn node
don't take this too seriously, this is just me messing around
TODOs:
- implement build/run `rigctld` in a container
- implement build/run `direwolf` in a container
- implement build/run `bpq` in a container
SOMEDAY:
- implement other packet terminal in a container?
- implement build/run `pat` in a container
- pick a better license
Process:
- attempt to do this with a compose file to make reproducable
Assumptions:
- runs rootless
- access to audio device might be a problem?
Purpose:
- Learn something about these new fangled containers
- implement a method to get a FARPN node easily stood up, but not necessarily targeted at new users.
-

51
compose.yaml Normal file
View File

@@ -0,0 +1,51 @@
version: '0.1'
services:
rigctld:
build:
context: .
dockerfile_inline:
FROM debian
RUN ...
container_name: rigctld
devices:
- "/dev/snd:/dev/snd"
- "/dev/ttyUSB:/dev/ttyUSB0"
ports: 4534:4534
direwolf:
container_name: direwolf
depends_on:
- rigctld
ports:
8000:8000
linbpq:
build:
context: .
dockerfile_inline:
FROM debian
RUN ...
container_name: bpq
depends_on:
- direwolf
secrets:
bbs-password:
environment: BBSPASS
admin-password:
environment: ADMINPASS
volumes:
- /var/linbpq
ports:
- "8000:8000"
- "8001:8001"
expose:
- "8001"
restart: unless-stopped
configs:
initial_config:
file: ./initial_settings.json
runtime_config:
file: ./runtime_settings.json
volumes:
bpq-data:
networks:
farpn-local: {}
farpn-ygg: {}

0
config/asound.conf Normal file
View File

0
config/direwolf.config Normal file
View File

0
config/linbpq.cfg Normal file
View File

0
config/linmail.cfg Normal file
View File