浏览附件80394
If you have only one server, you just need to delete the MC_SERVER_2 environment variable. If you need to add more, follow the example to do so.
docker run -d \
-e MC_SERVER_1=java:example.com:25565 \
-e MC_SERVER_2=bedrock:another.com:19132 \
-p 5000:5000 \
--name minecraft-status-app \
liyinyingo/minecraft-status-app:v1.0
After deployment, you can access it directly at port 5000.
Additionally, a status API is provided at
https://yourdomain.com/status, which you can use for further development.
If anyone encounters any issues during deployment, please leave a comment.