You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Michael Pilosov
2b21f69005
|
2 years ago | |
---|---|---|
templates | 2 years ago | |
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
app.py | 2 years ago | |
docker-compose.yml | 2 years ago | |
mc.py | 2 years ago | |
nginx.conf | 2 years ago | |
requirements.txt | 2 years ago | |
serve.py | 2 years ago | |
wsgi.py | 2 years ago |
README.md
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.