Logs minecraft status to postgres and creates webpage based on current server status using mcstatus.
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.

21 lines
425 B

2 years ago
# 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.