Skip to content

Setting up multiple instances on a single server

tastywheattasteslikechicken edited this page Sep 7, 2016 · 1 revision

Setting up multiple instances on a single server is easy.

  1. Set up your first instance as described on the main page
  2. Copy the whole directory (cp -r screeps-grafana-master screeps-grafana-master2)
  3. Edit setup.sh, replacing the port number 1337 with a new port, eg 1338
  4. Edit docker-compose.yml, appending 1 (or any other number) to the end of each service name.
  5. Still in `docker-compose.yml', change the links to be aliases for the new services. An example is shown below
  6. Change the port number in docker-compose.yml to the same one you put in setup.sh
  7. Don't forget to change docker-compose.env to include your new username and password.

You will not be able to be logged into multiple instances of grafana at once without using incognito mode. If you receive "Not authorised!" from any instance, return to the main page and log back in.

Clone this wiki locally