forked from bkconrad/screeps-grafana
-
Notifications
You must be signed in to change notification settings - Fork 27
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.
- Set up your first instance as described on the main page
- Copy the whole directory (
cp -r screeps-grafana-master screeps-grafana-master2
) - Edit setup.sh, replacing the port number
1337
with a new port, eg1338
- Edit
docker-compose.yml
, appending1
(or any other number) to the end of each service name. - Still in `docker-compose.yml', change the links to be aliases for the new services. An example is shown below
- Change the port number in
docker-compose.yml
to the same one you put in setup.sh - 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.