You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Docker image that provides a choice of Minecraft proxies, such as [BungeeCord](https://www.spigotmc.org/wiki/bungeecord/) and [Velocity](https://papermc.io/software/velocity). It is intended to be used in combination with [itzg/minecraft-server](https://hub.docker.com/r/itzg/minecraft-server/) containers.
5
2
6
3
[](https://github.com/itzg/docker-bungeecord/actions/workflows/build.yml)
7
4
@@ -14,13 +11,37 @@ you can disable online mode, which is required by bungeecord, by setting `ONLINE
14
11
docker run ... -e ONLINE_MODE=FALSE itzg/minecraft-server
15
12
```
16
13
17
-
[Here](docs/docker-compose.yml) is an example Docker Compose file.
14
+
The following is an example that can be started with `docker compose up -d`:
15
+
16
+
```yaml
17
+
services:
18
+
mc:
19
+
image: itzg/minecraft-server
20
+
environment:
21
+
EULA: "TRUE"
22
+
ONLINE_MODE: "FALSE"
23
+
volumes:
24
+
- mc-data:/data
25
+
proxy:
26
+
image: itzg/mc-proxy
27
+
environment:
28
+
BUNGEE_JAR_REVISION: "1"
29
+
CFG_MOTD: Powered by Docker
30
+
REPLACE_ENV_VARIABLES: "true"
31
+
ports:
32
+
- "25565:25577"
33
+
volumes:
34
+
- ./config.yml:/config/config.yml
35
+
- proxy-data:/server
36
+
37
+
volumes:
38
+
mc-data:
39
+
proxy-data:
40
+
```
18
41
19
42
## Healthcheck
20
43
21
-
This image contains [mc-monitor](https://github.com/itzg/mc-monitor) and uses
22
-
its `status` command to continually check on the container's. That can be observed
23
-
from the `STATUS` column of `docker ps`
44
+
This image contains [mc-monitor](https://github.com/itzg/mc-monitor) and uses its `status` command to continually check on the container's. That can be observed from the `STATUS` column of `docker ps`
24
45
25
46
```
26
47
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
@@ -241,7 +262,7 @@ _The `-i` is not needed in this case._
241
262
242
263
In order to attach and interact with the Bungeecord server, add `-it` when starting the container, such as
243
264
244
-
docker run -d -it -p 25565:25577 --name mc itzg/bungeecord
265
+
docker run -d -it -p 25565:25577 --name mc itzg/mc-proxy
245
266
246
267
With that you can attach and interact at any time using
247
268
@@ -312,7 +333,7 @@ version: "3.8"
312
333
313
334
services:
314
335
proxy:
315
-
image: itzg/bungeecord
336
+
image: itzg/mc-proxy
316
337
ports:
317
338
- "25577:25577"
318
339
volumes:
@@ -395,19 +416,19 @@ Supports the file formats:
395
416
This image may be run as a non-root user but does require an attached `/server`
396
417
volume that is writable by that uid, such as:
397
418
398
-
docker run ... -u $uid -v $(pwd)/data:/server itzg/bungeecord
419
+
docker run ... -u $uid -v $(pwd)/data:/server itzg/mc-proxy
399
420
400
421
## Java Versions
401
422
402
423
The `latest` image tag is based on Java 21, but alternate image tags are available to run with a different java version.
0 commit comments