Comments (13)
I didn't realize bungeecord had an option for PROXY protocol. A change will be needed for both repos, so I also created itzg/mc-monitor#6
from docker-bungeecord.
I have added a variable called HEALTH_HOST
that defaults to localhost, but in your case could be changed to point at the HAproxy's host/IP address. Would that work?
from docker-bungeecord.
I don't think this is a solution, because the HAProxy distributes the requests to all proxy servers at the same time, meaning if one proxy is offline all are classified as unhealthy
from docker-bungeecord.
Oh, so you have several equivalent replicas of bungeecord instances behind HAproxy?
from docker-bungeecord.
Exactly. Distributed across multiple hosts
from docker-bungeecord.
This is getting harder than I thought. It'll take an enhancement in https://github.com/Raqbit/mc-pinger also -- so three repos will need to be touched.
from docker-bungeecord.
FYI, have a PR submitted ^
from docker-bungeecord.
The latest image now includes the variable HEALTH_USE_PROXY
, which you'll want to set to "true".
from docker-bungeecord.
Got /bin/sh: 1: /health.sh: Permission denied
from docker-bungeecord.
Oops, try the latest image now.
from docker-bungeecord.
I don't know if this is related but on our production system (without HAProxy) the newest image doesn't start anymore sudo: /usr/lib/jvm/java-1.8-openjdk/bin/java: command not found
.
Please give me feedback if I should create an issue for this.
On the HAProxy system the healthcheck runs now without problems, many thanks!
from docker-bungeecord.
Are you using Portainer or something similar? If so, that product has an issue with incorrectly retaining image declared variables like PATH and JAVA_HOME. As a result, image upgrades that involve a change to those variables (like switching to Java 11) are not handled properly.
from docker-bungeecord.
Has clarified, thank you very much!
from docker-bungeecord.
Related Issues (20)
- bungeecord Type Velocity, can't connect to RCON CLI. Throws i/o timeout HOT 2
- Support GID, UID HOT 2
- Health status HOT 5
- SPIGET_PLUGINS not following redirects to Bukkit download page. HOT 6
- No response from RCON-CLI HOT 4
- Modrinth Plugin Support HOT 1
- RCON environment variables don't get into the config file HOT 1
- Support mounting kubernetes secrets HOT 8
- query port not exposed (udp) HOT 3
- Unable to mount velocity.toml into the container HOT 9
- [Server thread/ERROR]: Failed to validate profile key: Invalid signature for profile public key. HOT 2
- Healthcheck: "server not ready" HOT 2
- Copying plugin configs HOT 2
- Add support for config patching
- Request: Script similar to mc-send-to-console HOT 4
- Support more Java version HOT 3
- When specifying modrinth plugins on velocity the logs output that plugins are downlaoding but no plugins get loaded HOT 1
- Support 1.20.3 change to ping description structure
- Apply patches after related config file is created HOT 1
- Question : Using auto pause in docker-minecraft-server with docker-bungeecord and Velocity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bungeecord.