The mini server status for the Factorio server factorio.ilot.sh, based on rcon-ts.
git clone git@github.com:lovethebomb/factorio-status.git
Create a .env
file with KEY=value
as decribed:
RCON_HOST="your-server-hostname" | default factorio.domain.tld
RCON_PORT=your-server-port | default 27015
RCON_PASSWORD=your-server-port
RCON_TIMEOUT=your-server-timeout | default 5000
npm run dev
npm run test
A Dockerfile is provided.
The build-and-run step is:
npm run build && npm run start
You can provide the .env
file through a Docker volume and override the port envvar
if needed.
docker run -v -e "PORT=3000" /path/to/.env:/app/.env factorio-status