Add support/instructions for a remote database/grafana instance
I run a grafana instance on another machine and would like to be able to send stats to that without hosting another database/grafana instance locally.
Not sure this is still relevant but anyway.
The docker compose file declares a local directory must be mounted to the docker "service" called Exporter. An OKish way to do this is to mount the path on the remote machine. Let's say they're both running Windows. The Factorio mod for this writes the metric data to the directory ${APPDATA}\Factorio\script-output\graftorio
You could share that directory in Windows and then mount it as a drive in Windows on the other machine - X drive for example.
Then run docker compose you will have to have changed the mount path in the docker-compose file from
volumes:
- ${APPDATA}\Factorio\script-output\graftorio:/textfiles # Windows
volumes:
- X:\:/textfiles # Windows
Shout if that doesn't make sense.