Compare commits
3 Commits
1eb84a1989
...
c297fae2fb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c297fae2fb | ||
|
|
92f192cc1a | ||
|
|
67dfcf3db9 |
7
.env
7
.env
@@ -1,3 +1,7 @@
|
|||||||
|
#general settings
|
||||||
|
STATION_CALL="N0CALL"
|
||||||
|
NODENAME="NOWHR"
|
||||||
|
|
||||||
#rigctld settings
|
#rigctld settings
|
||||||
RIG_MODEL=""
|
RIG_MODEL=""
|
||||||
RIG_DEVICE=""
|
RIG_DEVICE=""
|
||||||
@@ -8,4 +12,5 @@ PTT_METHOD=""
|
|||||||
DIREWOLF_PORT=
|
DIREWOLF_PORT=
|
||||||
ALSA_DEVICE=
|
ALSA_DEVICE=
|
||||||
|
|
||||||
|
#linbpq settings
|
||||||
|
# these get messy...
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ Assumptions:
|
|||||||
Purpose:
|
Purpose:
|
||||||
- Learn something about these new fangled containers
|
- 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.
|
- implement a method to get a FARPN node easily stood up, but not necessarily targeted at new users.
|
||||||
-
|
- have a easy to spin up FARPN stack to run tests and configurations with
|
||||||
|
|||||||
84
compose.yaml
84
compose.yaml
@@ -3,49 +3,53 @@ services:
|
|||||||
rigctld:
|
rigctld:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile_inline:
|
args:
|
||||||
FROM debian
|
- GIT_RELEASE: abcdef
|
||||||
RUN ...
|
platforms:
|
||||||
|
- "linux/arm64"
|
||||||
|
network: host
|
||||||
|
dockerfile: rigctld-build.dockerfile
|
||||||
container_name: rigctld
|
container_name: rigctld
|
||||||
|
group_add: dialout
|
||||||
devices:
|
devices:
|
||||||
- "/dev/snd:/dev/snd"
|
|
||||||
- "/dev/ttyUSB:/dev/ttyUSB0"
|
- "/dev/ttyUSB:/dev/ttyUSB0"
|
||||||
ports: 4534:4534
|
ports: 4534:4534
|
||||||
direwolf:
|
command: rigctld $RIGCTLD_ARGS
|
||||||
container_name: direwolf
|
# direwolf:
|
||||||
depends_on:
|
# container_name: direwolf
|
||||||
- rigctld
|
# depends_on:
|
||||||
ports:
|
# - rigctld
|
||||||
8000:8000
|
# devices:
|
||||||
linbpq:
|
# - "/dev/snd:/dev/snd"
|
||||||
build:
|
# group-add:
|
||||||
context: .
|
# - dialout
|
||||||
dockerfile_inline:
|
# - audio
|
||||||
FROM debian
|
# ports:
|
||||||
RUN ...
|
# 8000:8000
|
||||||
container_name: bpq
|
# linbpq:
|
||||||
depends_on:
|
# container_name: bpq
|
||||||
- direwolf
|
# depends_on:
|
||||||
secrets:
|
# - direwolf
|
||||||
bbs-password:
|
# secrets:
|
||||||
environment: BBSPASS
|
# bbs-password:
|
||||||
admin-password:
|
# environment: BBSPASS
|
||||||
environment: ADMINPASS
|
# admin-password:
|
||||||
volumes:
|
# environment: ADMINPASS
|
||||||
- /var/linbpq
|
# volumes:
|
||||||
ports:
|
# - /var/linbpq
|
||||||
- "8000:8000"
|
# ports:
|
||||||
- "8001:8001"
|
# - "8000:8000"
|
||||||
expose:
|
# - "8001:8001"
|
||||||
- "8001"
|
# expose:
|
||||||
restart: unless-stopped
|
# - "8001"
|
||||||
configs:
|
# restart: unless-stopped
|
||||||
initial_config:
|
#configs:
|
||||||
file: ./initial_settings.json
|
# initial_config:
|
||||||
runtime_config:
|
# file: ./initial_settings.json
|
||||||
file: ./runtime_settings.json
|
# runtime_config:
|
||||||
volumes:
|
# file: ./runtime_settings.json
|
||||||
bpq-data:
|
#volumes:
|
||||||
|
# bpq-data:
|
||||||
networks:
|
networks:
|
||||||
farpn-local: {}
|
farpn-local: {}
|
||||||
farpn-ygg: {}
|
# farpn-ygg: {}
|
||||||
|
|||||||
18
rigctld.dockerfile
Normal file
18
rigctld.dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# build rigctld
|
||||||
|
|
||||||
|
FROM debian;latest
|
||||||
|
|
||||||
|
RUN mkdir bin src
|
||||||
|
# this migh be too much, but let's try it
|
||||||
|
RUN apt install -y libconfig-dev autoconf libtool git gcc g++ make cmake libudev-dev libreadline-dev libusb-1.0.0-dev libavahi-common-dev libavahi-client-dev
|
||||||
|
|
||||||
|
# build hamlib/rigctld
|
||||||
|
RUN <<EOF
|
||||||
|
cd src
|
||||||
|
git clone https://github.com/Hamlib/Hamlib.git
|
||||||
|
./bootstrap
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
EOF
|
||||||
|
|
||||||
|
CMD /bin/rigctld
|
||||||
Reference in New Issue
Block a user