You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ADN-DMR-Peer-Server/docker-configs/docker-compose2.yml

97 lines
3.3 KiB

###############################################################################
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#
###############################################################################
version: '2.4'
services:
adn-server:
container_name: adn-server
cpu_shares: 1024
mem_reservation: 600m
# Before enabling local mapping, download the file to the host machine:
# docker cp adn-server:/opt/ADN-DMR-Peer-Server/config/adn.cfg .
volumes:
- './adn.cfg:/opt/ADN-DMR-Peer-Server/config/adn.cfg:ro'
# Change the below to inlude ports used for your OBP(s)
# ports:
# - '62041:62041/udp'
# For x86_64 host devices use tag :latest , and for Raspberry arm64 / arch64 devices use tag :rpi
image: 'registry.gitlab.com/hp3icc/fdmr/adn-server-self-service:latest'
restart: "unless-stopped"
logging:
driver: none
networks:
- bridge
mariadb:
image: 'lscr.io/linuxserver/mariadb:latest'
container_name: mariadb
restart: "always"
volumes:
- './mysql:/config'
environment:
- MYSQL_ROOT_PASSWORD=hbmon
logging:
driver: none
networks:
- bridge
monitor:
container_name: monitor
cpu_shares: 512
restart: "always"
# Before enabling local mapping, download the file to the host machine:
# docker cp monitor:/opt/FDMR-Monitor/fdmr-mon.cfg .
volumes:
- './fdmr-mon.cfg:/opt/FDMR-Monitor/fdmr-mon.cfg:ro'
# - './logo.png:/var/www/html/img/logo.png:ro'
# - './bk.jpg:/var/www/html/img/bk.jpg:ro'
# - './favicon.ico:/var/www/html/img/favicon.ico:ro'
ports:
- '80:80/tcp'
# - '443:443/tcp'
- '9000:9000'
- '62031:62031/udp'
depends_on:
- 'adn-server'
- 'mariadb'
environment:
- MYSQLUSER=root
- MYSQLPASS=hbmon
# For x86_64 host devices use tag :latest , and for Raspberry arm64 / arch64 devices use tag :rpi
image: 'registry.gitlab.com/hp3icc/fdmr/adn-mon2-selfservice:latest'
logging:
driver: none
networks:
- bridge
autoheal:
image: willfarrell/autoheal:latest
tty: true
container_name: autoheal
restart: always
environment:
- AUTOHEAL_CONTAINER_LABEL=all
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
bridge:
driver: bridge

Powered by TurnKey Linux.