Important
If the exporter shows no metrics you might want to check the SDSE_INSECURE environment variable.
docker run -p 8080:8080 -e SDSE_HOST=ip_or_hostname -e SDSE_TOKEN=token_from_satisfactory_dedicated_server ghcr.io/redstonecrafter0/satisfactory-dedicated-server-exporter:latest
services:
satisfactory-dedicated-server-exporter:
image: ghcr.io/redstonecrafter0/satisfactory-dedicated-server-exporter:latest
ports:
- 8080:8080
volumes:
- "/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro" # only needed if you got your own CA
environment:
- SDSE_HOST=ip_or_hostname
- SDSE_TOKEN=token_from_satisfactory_dedicated_server
This environment variable contains the hostname or ip of the Satisfactory Dedicated Server you want to monitor.
This environment variable contains the port of the Satisfactory Dedicated Server you want to monitor.
This environment variable contains the bearer token of the Satisfactory Dedicated Server you want to monitor.
Tip
You can use server.GenerateAPIToken
on the server console to generate this token.
If you have a trusted certificate installed on your Satisfactory Dedicated Server you can ignore this variable.
Otherwise, to ignore certificate verification you need to set this to 1
.
Caution
You should always prefer using a trusted certificate over ignoring the trust-chain to verify the server. You should then also put a TLS terminating reverse proxy in front of this exporter.