Install with Docker
Docker is an alternative to the installer and the .jar install: one image holds Java, Pano and everything Pano needs to run. Pano Host runs every Pano Instance the same way. Configuration covers environment variables and the /data volume; Runtime covers upgrades, the runtime image, Java and memory.
The quickest way is the installer's Docker mode: curl -fsSL https://panomc.com/install | bash -s -- --docker writes the Compose file below (plus a memory limit) with its .env and starts it. This page does the same by hand.
NOTE
The images are published from Pano 1.0.0-alpha.522 on. Older releases only ship the .jar.
The image
All tags live in one public package, ghcr.io/panomc/pano, built for amd64 and arm64:
| Tag | What you get |
|---|---|
latest | The newest stable release (recommended) |
beta, alpha | The newest release of that prerelease channel |
<version>, e.g. 1.0.0 | Exactly that release, never moves |
runtime-jre<N> | Java N and the launcher, no Pano. See The runtime image |
The image runs Pano as a non-root user on Java 11. Pano still needs a MySQL or MariaDB database; both examples below start MariaDB next to it.
Docker Compose (recommended)
Create a folder with this
compose.yamlin it:yaml# Pano with MariaDB, the self-host Docker install (docs mirror this file 1:1). # echo "PANO_DB_PASSWORD=$(openssl rand -hex 24)" > .env # docker compose up -d # then open http://<server> and finish the setup wizard # PANO_TAG picks the image tag (latest, beta, alpha or a version such as 1.0.0), PANO_PORT the host port. # latest = newest stable release. name: pano services: pano: image: ghcr.io/panomc/pano:${PANO_TAG:-latest} restart: unless-stopped depends_on: db: condition: service_healthy environment: PANO_DB_HOST: db PANO_DB_PORT: "3306" PANO_DB_NAME: pano PANO_DB_USER: pano PANO_DB_PASSWORD: ${PANO_DB_PASSWORD:?set PANO_DB_PASSWORD in .env} ports: - "${PANO_PORT:-80}:8088" volumes: - pano-data:/data db: image: mariadb:11.4 restart: unless-stopped environment: MARIADB_DATABASE: pano MARIADB_USER: pano MARIADB_PASSWORD: ${PANO_DB_PASSWORD:?set PANO_DB_PASSWORD in .env} MARIADB_RANDOM_ROOT_PASSWORD: "1" healthcheck: test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] interval: 5s timeout: 5s retries: 30 volumes: - db-data:/var/lib/mysql volumes: pano-data: db-data:Create a
.envfile with a database password and start both containers:bashecho "PANO_DB_PASSWORD=$(openssl rand -hex 24)" > .env docker compose up -dPano is served on port 80. Add
PANO_PORT=8088(or another port) to.envwhen port 80 is taken, andPANO_TAG=beta(or a version) to pick a tag.Open
http://<your-server-ip>/and follow the Setup Wizard. The database step is already filled in from the environment; leave the password empty to keepPANO_DB_PASSWORD.
docker run
Without Compose, put Pano and MariaDB on one network:
docker network create pano
docker run -d --name pano-db --network pano --restart unless-stopped \
-e MARIADB_DATABASE=pano -e MARIADB_USER=pano -e MARIADB_PASSWORD=change-me \
-e MARIADB_RANDOM_ROOT_PASSWORD=1 -v pano-db:/var/lib/mysql mariadb:11.4
docker run -d --name pano --network pano --restart unless-stopped -p 80:8088 \
-e PANO_DB_HOST=pano-db -e PANO_DB_NAME=pano -e PANO_DB_USER=pano -e PANO_DB_PASSWORD=change-me \
-v pano-data:/data ghcr.io/panomc/pano:latestAlready have a database server? Skip the first two commands and point PANO_DB_HOST at it.
Coolify
On a server managed by Coolify, Pano runs from one Compose file. Coolify's proxy serves it over HTTPS on your domain and generates the database user and passwords.
In Coolify, open your project, click New Resource and choose Docker Compose Empty.
Paste this file:
yaml# documentation: https://panomc.com/docs/ # slogan: Pano is a website, store and server panel for Minecraft servers. # category: cms # tags: minecraft,cms,website,forum,store,server,panel,game # logo: svgs/pano.svg # port: 8088 # # Pano on Coolify: New Resource -> Docker Compose Empty, paste this file, set the domain of `pano`, deploy. # Coolify generates the database user and passwords. To pin a release, change the image tag (beta, alpha or a # version such as 1.2.1). The header above is Coolify's one-click template metadata. services: pano: image: ghcr.io/panomc/pano:latest environment: - SERVICE_URL_PANO_8088 - PANO_DB_HOST=mariadb - PANO_DB_PORT=3306 - PANO_DB_NAME=${MARIADB_DATABASE:-pano} - PANO_DB_USER=${SERVICE_USER_MARIADB} - PANO_DB_PASSWORD=${SERVICE_PASSWORD_MARIADB} - PANO_JVM_ARGS=${PANO_JVM_ARGS:--XX:MaxRAMPercentage=75} volumes: - pano-data:/data depends_on: mariadb: condition: service_healthy healthcheck: test: ["CMD-SHELL", "curl -so /dev/null http://127.0.0.1:8088/api/v1/setup/step"] interval: 10s timeout: 5s retries: 10 start_period: 60s mariadb: image: mariadb:11.4 environment: - MARIADB_DATABASE=${MARIADB_DATABASE:-pano} - MARIADB_USER=${SERVICE_USER_MARIADB} - MARIADB_PASSWORD=${SERVICE_PASSWORD_MARIADB} - MARIADB_ROOT_PASSWORD=${SERVICE_PASSWORD_MARIADBROOT} volumes: - pano-mariadb-data:/var/lib/mysql healthcheck: test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] interval: 5s timeout: 5s retries: 30Set the domain of the
panoservice, for examplehttps://mc.example.com, and click Deploy. Point the domain's DNS record at the server first.Open the domain and follow the Setup Wizard. The database step is already filled in.
latest is the newest stable release. To pin a release, change the image tag, for example to ghcr.io/panomc/pano:1.2.1.
Good to know
- Everything Pano writes lives in the
/datavolume. Back it up together with the database. See The/datavolume. - Do not edit
config.confwhile the container runs. See config.conf. - Stop with
docker compose stopordocker stop pano; Pano shuts down cleanly and saves its config. - To upgrade, pull a newer tag. See Upgrading.
- Running Pano for other people? Hosting Pano Instances for Others describes the model.