# Setting up a Master Server using docker. ## Docker Images docker.dvdmr.org/digitalvoice/master:latest Master/Bridge Server docker.dvdmr.org/digitalvoice/monitor:latest Montoring Websocket Python (Optional) docker.dvdmr.org/digitalvoice/monitorweb:latest Montoring Apache PHP Container You can alternatively run the PHP in your own apache/nginx or traefik environment; see README.apache, README.nginx and README.traefik respectively. See README.monitor for info on running the monitorweb container. ## Docker Volumes Create a directory structure on your host for 3 volumes; these will be mounted into all containers as the volumes /config, /data and /log and will be referred to as the /config volume or /data volume for example. A suggested structure on your host may be: /data/master/config /data/master/data /data/master/log and for a second stack: /data/bridge/config /data/bridge/data /data/bridge/log ## Configuration Download the sample config files from https://dvdmr.org/docs/configs/ and rename them; You require 4 files which should be placed into the /config volume: dmrmaster.cfg - Master Server Configuration mon.cfg - Monitoring Dashboard Configuration rules.py - Master Server Rules* loro.cfg - Parrot/Echo Service Provider** * This is currently unused in this version of master mode. It may return soon. ** This file does not need to be modified and is for advanced configuration. Refer to the comments in dmrmaster.cfg and mon.cfg for details on configuring them for your master. ## Docker Compose A sample docker compose file can be found at: https://dvdmr.org/docs/docker-compose.yml Update it according to the desired ports for your openbridges; and websocket server. If you are running the monitoring PHP container or your reverse proxy is connecting to your websocket via the internal docker networking you do not need to expose any ports from this container. ## Bridge Configuration