-
-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathcompose.yml
More file actions
29 lines (28 loc) · 650 Bytes
/
Copy pathcompose.yml
File metadata and controls
29 lines (28 loc) · 650 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
25
26
27
28
services:
router:
image: itzg/mc-router
environment:
IN_DOCKER: true
ports:
- "25565:25565"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Matches MCs below
network_mode: bridge
vanilla:
image: itzg/minecraft-server
environment:
EULA: "TRUE"
labels:
mc-router.host: "localhost"
# To allow for routing from devcontainer
network_mode: bridge
paper:
image: itzg/minecraft-server
environment:
EULA: "TRUE"
TYPE: PAPER
labels:
mc-router.host: "paper.example.com"
# To allow for routing from devcontainer
network_mode: bridge