setting up rigctld
This commit is contained in:
89
compose.yaml
89
compose.yaml
@@ -3,54 +3,53 @@ services:
|
||||
rigctld:
|
||||
build:
|
||||
context: .
|
||||
dockerfile_inline:
|
||||
FROM debian
|
||||
RUN ...
|
||||
container_name: rigctld
|
||||
args:
|
||||
- GIT_RELEASE: abcdef
|
||||
platforms:
|
||||
- "linux/arm64"
|
||||
network: host
|
||||
dockerfile: rigctld-build.dockerfile
|
||||
container_name: rigctld
|
||||
group_add: dialout
|
||||
devices:
|
||||
- "/dev/ttyUSB:/dev/ttyUSB0"
|
||||
ports: 4534:4534
|
||||
direwolf:
|
||||
container_name: direwolf
|
||||
depends_on:
|
||||
- rigctld
|
||||
devices:
|
||||
- "/dev/snd:/dev/snd"
|
||||
group-add:
|
||||
- dialout
|
||||
- audio
|
||||
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:
|
||||
command: rigctld $RIGCTLD_ARGS
|
||||
# direwolf:
|
||||
# container_name: direwolf
|
||||
# depends_on:
|
||||
# - rigctld
|
||||
# devices:
|
||||
# - "/dev/snd:/dev/snd"
|
||||
# group-add:
|
||||
# - dialout
|
||||
# - audio
|
||||
# ports:
|
||||
# 8000:8000
|
||||
# linbpq:
|
||||
# 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: {}
|
||||
# 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