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.

35 lines
608 B

# docker-compose file for serving nginx without SSL
version: '3.7'
services:
nginx:
build: .
container_name: mcstatus-server
restart: always
ports:
- 9992:9992
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- ./html:/usr/share/nginx/html
- ./logs:/var/log/nginx
environment:
- TZ=America/Denver
env_file:
- .env
status:
build: .
container_name: mcstatus
restart: always
environment:
- TZ=America/Denver
env_file:
- ../.env
command: python mc.py
networks:
default:
external:
name: mcstatus