Logs minecraft status to postgres and creates webpage based on current server status using mcstatus.
templates | ||
.gitignore | ||
app.py | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
mc.py | ||
nginx.conf | ||
README.md | ||
requirements.txt | ||
serve.py | ||
wsgi.py |
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.