2021-09-04 21:36:19 -04:00
|
|
|
#Dockerised IPSC <--> HomeBrew Protocol stack.
|
|
|
|
#
|
|
|
|
#For connecting Motorola repeaters to FreeDMR
|
|
|
|
#NB: If you get strange audio problems, try only
|
|
|
|
#enabling one timelot. This is a known issue
|
|
|
|
#with the current tools.
|
|
|
|
|
|
|
|
version: '3.3'
|
|
|
|
services:
|
|
|
|
#Duplicate this section for each repeater
|
|
|
|
#do docker-compose down and then docker-compose up -d in this
|
|
|
|
#directory afterwards to stop and start the containers
|
|
|
|
#you may need to do conntrack -F after the restart
|
|
|
|
FreeDMR-IPSC:
|
|
|
|
container_name: FreeDMR-IPSC
|
|
|
|
ports:
|
2021-09-17 18:52:03 -04:00
|
|
|
#IPSC port - right side always stays the same (inside container), left side is
|
2021-09-04 21:36:19 -04:00
|
|
|
#the port you want to present on the outside.
|
|
|
|
#This is automatically mapped - docker uses iptables to do this
|
|
|
|
- '55000:55000/udp'
|
|
|
|
environment:
|
|
|
|
#Configure IPSC side (IPSC_Bridge)
|
|
|
|
#True if we are the master
|
|
|
|
#False if we are connecting to an existing IPSC network
|
|
|
|
- IPSC_MASTER_PEER=True
|
|
|
|
#IP and Port only needed if the above is False
|
|
|
|
- IPSC_MASTER_IP=
|
|
|
|
- IPSC_MASTER_PORT=
|
|
|
|
#Which timeslots to forward
|
2021-09-12 15:12:02 -04:00
|
|
|
- IPSC_TS1=True
|
2021-09-04 21:36:19 -04:00
|
|
|
- IPSC_TS2=True
|
|
|
|
#DMR ID we use to talk to the IPSC network
|
|
|
|
#This should probably be the repeater server's SERVER_ID
|
|
|
|
- IPSC_RADIO_ID=2341
|
2021-09-10 09:19:59 -04:00
|
|
|
- IPSC_AUTH_KEY=
|
2021-09-04 21:36:19 -04:00
|
|
|
#Configure HBP (repeater) details (HB_Bridge)
|
|
|
|
- HB_CALLSIGN=
|
|
|
|
- HB_RADIO_ID=
|
|
|
|
- HB_RX_FREQ=
|
|
|
|
- HB_TX_FREQ=
|
|
|
|
- HB_TX_POWER=
|
|
|
|
- HB_COLORCODE=
|
|
|
|
- 'HB_LAT='
|
|
|
|
- 'HB_LON=-'
|
|
|
|
- HB_HEIGHT=
|
|
|
|
- HB_LOCATION=
|
2021-09-12 15:12:02 -04:00
|
|
|
#Which slots to enable:
|
|
|
|
# 1 = 1, 2 = 2, 3 = both
|
|
|
|
# Note there are some issues with both slots
|
|
|
|
# at this time.
|
|
|
|
# Slot 2 is setup to work with dial-a-tg **only**
|
|
|
|
- HB_SLOTS=1
|
2021-09-04 21:36:19 -04:00
|
|
|
#Configure Repeater server side (DMRGateway)
|
2021-09-12 15:12:02 -04:00
|
|
|
#Put an Options line here to configure static TGs etc
|
|
|
|
- 'DMRG_OPTIONS='
|
2021-09-04 21:36:19 -04:00
|
|
|
#Target server
|
|
|
|
- DMRG_TARGET=
|
2021-09-04 21:59:56 -04:00
|
|
|
image: 'hacknix/freedmr-ipsc:latest'
|
2021-09-04 21:36:19 -04:00
|
|
|
#Container will persist over reboots
|
|
|
|
restart: "unless-stopped"
|