Docker Installation#
Note
Prerequisites: Existing RDM or DataParser style database.
- Install docker
- Install docker-compose
-
Clone the repository
sh git clone https://github.com/versx/MapJS && cd MapJS -
Copy the sample docker-compose file
sh cp docker-compose.example.yml docker-compose.yml -
Fill out your docker-compose.yml file. Change your
HEALTHCHECK_SECRETvariable.sh vi docker-compose.yml -
Create your project config
sh cp src/configs/config.example.json src/configs/config.json -
Fill out config. See config#discord for Discord Auth instructions.
sh vi src/configs/config.json -
Create/copy a
static/custom/nests.jsonfile to show nests (GeoJSON file format) - Create/copy a
static/custom/areas.jsonfile to show scan areas (GeoJSON file format, see below) - Start with
docker-compose up -d - Access via http://machineip:port/ login using your Discord account
Updating#
cd /path/to/MapJSgit pulldocker-compose builddocker-compose up -d