# 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