Logs minecraft status to postgres and creates webpage based on current server status using mcstatus.
Go to file
2022-12-23 21:26:17 -07:00
templates commit all the files 2022-12-23 21:26:17 -07:00
.gitignore Initial commit 2022-12-24 04:09:53 +00:00
app.py commit all the files 2022-12-23 21:26:17 -07:00
docker-compose.yml commit all the files 2022-12-23 21:26:17 -07:00
Dockerfile commit all the files 2022-12-23 21:26:17 -07:00
LICENSE Initial commit 2022-12-24 04:09:53 +00:00
mc.py commit all the files 2022-12-23 21:26:17 -07:00
nginx.conf commit all the files 2022-12-23 21:26:17 -07:00
README.md commit all the files 2022-12-23 21:26:17 -07:00
requirements.txt commit all the files 2022-12-23 21:26:17 -07:00
serve.py commit all the files 2022-12-23 21:26:17 -07:00
wsgi.py commit all the files 2022-12-23 21:26:17 -07:00

mc-status-page

Logs minecraft status to postgres and creates webpage based on current server status using mcstatus.

Usage

Create .env with these keys:

DB_HOST=
DB_NAME=
DB_USER=
DB_PASS=
DB_PROJ=
DB_TABLE=
MINE_IP=

where MINE_IP is the IP Address of your Minecraft server (including port), and the rest correspond to your PostgreSQL database.

Then docker-compose up -d will run the site on port 9992.