-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 891 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-License-Identifier: Apache-2.0
# BlockPilot Minecraft Panel
# The panel and Minecraft data are persisted outside the container.
services:
blockpilot:
build: .
container_name: blockpilot-panel
restart: unless-stopped
environment:
PORT: 8787
HOST: 0.0.0.0
ADMIN_USERNAME: ${ADMIN_USERNAME:-admin}
# Compose refuses to start until a non-empty password is provided in the local .env.
ADMIN_PASSWORD: ${ADMIN_PASSWORD:?Set ADMIN_PASSWORD in .env before starting BlockPilot}
WEB_ORIGINS: ${WEB_ORIGINS:-http://localhost:8787,http://127.0.0.1:8787}
ports:
- "8787:8787"
- "25565:25565"
volumes:
- ./runtime:/app/runtime
- ./Server:/app/Server
# Optional: mount an approved secret at /run/secrets/blockpilot_jwt_secret.
# Without one, BlockPilot creates a host-specific key in the runtime volume.