Code Monkey home page Code Monkey logo

healthproxy's Introduction

Docker CI Docker Pulls GitHub Issues

MIT license

Healthproxy

A very simple container tool meant to expose out an HTTP style health check endpoint for services that expose UDP publically, but have some sort of TCP admin endpoint. The goal is to avoid exposing the admin port to the world, while still being able to use it to monitor server health.

Game servers that support RCON are good examples, such as Ark, Astroneer, Palworld, etc. These provide RCON functionality over TCP, and in principle you could use this port with a tool like Uptime Robot or Uptime Kuma. However, exposing this unencrypted admin port isn't ideal and opens up many risks.

It's highly recommended to hide these behind some sort of reverse proxy like nginx proxy manager so that multiple services can be checked independently.

Example Docker Compose

version: '3.7'

services:
  healthcheck:
    image: kaiede/healthproxy:latest
    restart: always
    environment:
      ADDRESS: "gameserver:25575"
    ports:
      - 8086:8086/tcp

  gameserver:
    # Your Service Settings Here
    expose:
      # Expose the RCON port only to other services in this file
      - 25575
    ports:
      # Expose the game port publically
      - 8211:8211/udp

healthproxy's People

Contributors

kaiede avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.