The mini server status for the Factorio server factorio.ilot.sh, based on rcon-ts.
git clone git@github.com:lovethebomb/factorio-status.gitCreate 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 5000npm run devnpm run testA Dockerfile is provided.
The build-and-run step is:
npm run build && npm run startYou 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