version: "3"
services:
  main:
    image: forgeserver:latest
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SERVER_PORT=25565
      - RCON_ENABLE=true
      - RCON_PORT=25575
      - RCON_PASSWORD=root
      - MEMORY=1024M
    volumes:
      - ./Config:/config
    ports:
      - 25565:25565
      - 25575:25575
