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

137 lines
5.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: 512m
environment:
# The AUTO_RESTART function restarts the server and forces file downloads every 24 hours.
- AUTO_RESTART=True
# 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'
# Tag: latest. It's multi-architecture, AMD64, ARCH64.
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
mem_reservation: 512m
restart: "always"
# Before enabling local mapping, download the file to the host machine:
# DASHBOARD Style: 1 for OA4DOA , dash 2 for CS8ABG
# file config dash 1 : docker cp monitor:/opt/FDMR-Monitor1/fdmr-mon.cfg .
# file config dash 2 : docker cp monitor:/opt/FDMR-Monitor2/fdmr-mon.cfg .
volumes:
- './sql:/opt/adn-dashboard/html/db'
# Dash1
# - './logo.png:/opt/FDMR-Monitor1/html/img/logo.png'
# - './favicon.ico:/opt/FDMR-Monitor1/html/img/favicon.ico'
# Dash2
# - './logo.png:/opt/FDMR-Monitor2/html/img/logo.png'
# - './bk.jpg:/opt/FDMR-Monitor2/html/img/bk.jpg'
# - './favicon.ico:/opt/FDMR-Monitor2/html/img/favicon.ico'
# Dash3
# - './logo.png:/opt/adn-dashboard/html/img/banner_SAMPLE.png'
# - './bk.jpg:/opt/adn-dashboard/html/img/background_SAMPLE.jpg'
# - './favicon.ico:/opt/adn-dashboard/html/img/favicon_SAMPLE.ico'
ports:
- '80:80/tcp'
# - '443:443/tcp'
- '9000:9000'
- '62031:62031/udp'
depends_on:
- 'adn-server'
- 'mariadb'
environment:
- MYSQLUSER=root
- MYSQLPASS=hbmon
# For info TZ list: https://gist.github.com/alejzeis/ad5827eb14b5c22109ba652a1a267af5#file-timezone-mappings-csv
- TZ=America/Panama
# Select DASHBOARD Style: 1 to OA4DOA, 2 to CS8ABG, 3 to CS8ABG with Map
- DASHBOARD=3
# To enable SSL, enter the dashboard's DNS and your email account.
- USE_SSL=False
- DNS_URL=
- EMAIL=
# Dashboard Title
- DASHTITLE=ADN Systems Server
# Background image True or False if True put a bk.jpg 1920x1080 in img folder
- BACKGROUND=True
# available languages: en, es, fr, pt, it, nl, de, ru, ua, gr, hu, tr
- LANGUAGE=en
# Navbar Title
- NAVTITLE=ADN Systems
# Navbar Links Name, SAMPLE: NAV_LNK_NAME=LINKS
# LINKx put as many as you want, SAMPLE: LINK1=NameX,http://url.com
- NAV_LNK_NAME=
- LINK1=NameX,http://url.link
- LINK2=NameX,https://site.link
- LINK3=NameX,https://goaway.link
# World Wide Server List, SAMPLE: http://url/Hosts.csv
- SERVER_LIST=
# World Wide Bridge List, SAMPLE: https://url/Bridges.csv
- BRIDGES_LIST=
# World Wide TalkGroups List, SAMPLE: https://url/Talkgroups.csv
- TG_LIST=
# Social Networks #
- TELEGRAM=
- WHATSAPP=
- FACEBOOK=
# Footer Links #
# FOOTER LEFT SAMPLE: SYSOP <a href='http://your.link'>N0CALL</a>
- FOOTER1=
# FOOTER RIGHT SAMPLE: Your Project <a href='http://your.link'>Project</a>
- FOOTER2=
# Tag: latest. It's multi-architecture, AMD64, ARCH64.
image: 'registry.gitlab.com/hp3icc/fdmr/adn-mon2-selfservice:latest'
logging:
driver: none
networks:
- bridge
networks:
bridge:
driver: bridge

Powered by TurnKey Linux.