setting up rigctld
This commit is contained in:
89
compose.yaml
89
compose.yaml
@@ -3,54 +3,53 @@ services:
|
|||||||
rigctld:
|
rigctld:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile_inline:
|
args:
|
||||||
FROM debian
|
- GIT_RELEASE: abcdef
|
||||||
RUN ...
|
platforms:
|
||||||
container_name: rigctld
|
- "linux/arm64"
|
||||||
|
network: host
|
||||||
|
dockerfile: rigctld-build.dockerfile
|
||||||
|
container_name: rigctld
|
||||||
group_add: dialout
|
group_add: dialout
|
||||||
devices:
|
devices:
|
||||||
- "/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:
|
||||||
devices:
|
# - rigctld
|
||||||
- "/dev/snd:/dev/snd"
|
# devices:
|
||||||
group-add:
|
# - "/dev/snd:/dev/snd"
|
||||||
- dialout
|
# group-add:
|
||||||
- audio
|
# - dialout
|
||||||
ports:
|
# - audio
|
||||||
8000:8000
|
# ports:
|
||||||
linbpq:
|
# 8000:8000
|
||||||
build:
|
# linbpq:
|
||||||
context: .
|
# container_name: bpq
|
||||||
dockerfile_inline:
|
# depends_on:
|
||||||
FROM debian
|
# - direwolf
|
||||||
RUN ...
|
# secrets:
|
||||||
container_name: bpq
|
# bbs-password:
|
||||||
depends_on:
|
# environment: BBSPASS
|
||||||
- direwolf
|
# admin-password:
|
||||||
secrets:
|
# environment: ADMINPASS
|
||||||
bbs-password:
|
# volumes:
|
||||||
environment: BBSPASS
|
# - /var/linbpq
|
||||||
admin-password:
|
# ports:
|
||||||
environment: ADMINPASS
|
# - "8000:8000"
|
||||||
volumes:
|
# - "8001:8001"
|
||||||
- /var/linbpq
|
# expose:
|
||||||
ports:
|
# - "8001"
|
||||||
- "8000:8000"
|
# restart: unless-stopped
|
||||||
- "8001:8001"
|
#configs:
|
||||||
expose:
|
# initial_config:
|
||||||
- "8001"
|
# file: ./initial_settings.json
|
||||||
restart: unless-stopped
|
# runtime_config:
|
||||||
configs:
|
# file: ./runtime_settings.json
|
||||||
initial_config:
|
#volumes:
|
||||||
file: ./initial_settings.json
|
# bpq-data:
|
||||||
runtime_config:
|
|
||||||
file: ./runtime_settings.json
|
|
||||||
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