Pumpkin Docker & Self-Hosted Deployment

GitHub

Empowering everyone to host fast and efficient Minecraft servers.

RAW Compose
1. Pull Image (DOCKERHUB) docker pull pumpkin-mc/pumpkin
2. Docker Run (1-Click Launch) docker run -d --name pumpkin -p 25565:25565 --restart always pumpkin-mc/pumpkin:latest
3. Podman Run podman run -d --name pumpkin -p 25565:25565 --restart always pumpkin-mc/pumpkin:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/pumpkin-mc/pumpkin:latest
5. ORAS Pull (OCI Artifact) oras pull pumpkin-mc/pumpkin:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  pumpkin:
    # Make sure to change the tag to the pumpkin version you want to use.
    # https://github.com/Pumpkin-MC/Pumpkin/pkgs/container/pumpkin/versions?filters%5Bversion_type%5D=tagged
    #image: ghcr.io/pumpkin-mc/pumpkin:master
    build: .
    ports:
      - "25565:25565"
      - "19132:19132/udp"
    volumes:
      # Pumpkin runs as UID/GID 2613. On Linux hosts, make sure the data
      # directory has the correct ownership before starting the server:
      #   mkdir -p ./data
      #   sudo chown -R 2613:2613 ./data
      - ./data:/pumpkin
      # As an alternative, Docker can manage the storage volume. Existing
      # installations must migrate ./data before switching to avoid creating
      # a new, empty world:
      # - pumpkin-data:/pumpkin
      # Use the following mount if you want to make your config immutable.
      # - ./pumpkin.toml:/pumpkin/pumpkin.toml:ro
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped
    stdin_open: true
    tty: true
    cap_drop:
      - ALL
    read_only: true

# Uncomment this section when using the pumpkin-data volume above.
# volumes:
#   pumpkin-data: