Separate health check API for Factorio
services:
pingpong:
image: ghcr.io/zcube/factorio-port-fixer:main
command: /factorio-port-fixer local --ip=0.0.0.0 --port=34197 --remotePort=${PORT:-34197}
healthcheck:
test: curl --fail 127.0.0.1:34197/health || exit 1
factorio:
image: factoriotools/factorio:stable
environment:
- PORT=${PORT:-34197}
healthcheck:
test: curl --fail pingpong:34197/health_for_factorio || exit 1