hopper
This commit is contained in:
parent
ab43b6244b
commit
8533d4772d
3 changed files with 30 additions and 5 deletions
3
custom/hopper/Dockerfile
Normal file
3
custom/hopper/Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM ghcr.io/bra1l0r/hopper-rs
|
||||||
|
|
||||||
|
COPY config.toml config.toml
|
10
custom/hopper/config.toml
Normal file
10
custom/hopper/config.toml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# the address hopper will listen on
|
||||||
|
listen = "0.0.0.0:25565"
|
||||||
|
|
||||||
|
[routing]
|
||||||
|
default = { ip = "smpxmc:25565" } # optional
|
||||||
|
|
||||||
|
[routing.routes]
|
||||||
|
"mc.ixvd.net" = { ip = "smpxmc:25565" } # hostnames are supported too!
|
||||||
|
"kasmc.neo.ixvd.net" = { ip = "kasmc:25565" }
|
||||||
|
"sb3.neo.ixvd.net" = { ip = "stoneblock3:25565"}
|
|
@ -1,6 +1,17 @@
|
||||||
version: '2.2'
|
version: '2.2'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
minecraft:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
hopper:
|
||||||
|
build:
|
||||||
|
context: custom/hopper
|
||||||
|
ports:
|
||||||
|
- 25565:25565
|
||||||
|
networks:
|
||||||
|
- minecraft
|
||||||
|
|
||||||
smpxmc:
|
smpxmc:
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
container_name: smpxmc
|
container_name: smpxmc
|
||||||
|
@ -19,11 +30,10 @@ services:
|
||||||
TYPE: "PAPER"
|
TYPE: "PAPER"
|
||||||
VERSION: "1.19.3"
|
VERSION: "1.19.3"
|
||||||
restart: always
|
restart: always
|
||||||
ports: # 280** and 25565 is allocated to SMPXMC
|
|
||||||
- "25565:25565"
|
|
||||||
#- "28016:28016" # Rcon
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/smpxmc/data:/data
|
- /srv/smpxmc/data:/data
|
||||||
|
networks:
|
||||||
|
- minecraft
|
||||||
|
|
||||||
kasmc:
|
kasmc:
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
|
@ -35,10 +45,10 @@ services:
|
||||||
MOTD: "Kas' server"
|
MOTD: "Kas' server"
|
||||||
VERSION: "1.16.5"
|
VERSION: "1.16.5"
|
||||||
OPS: "Meneer_appel"
|
OPS: "Meneer_appel"
|
||||||
ports:
|
|
||||||
- 25566:25566
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/kasmc/data:/data
|
- /srv/kasmc/data:/data
|
||||||
|
networks:
|
||||||
|
- minecraft
|
||||||
|
|
||||||
stoneblock3:
|
stoneblock3:
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
|
@ -54,6 +64,8 @@ services:
|
||||||
- 25567:25565
|
- 25567:25565
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/sb3/data:/data
|
- /srv/sb3/data:/data
|
||||||
|
networks:
|
||||||
|
- minecraft
|
||||||
|
|
||||||
rust:
|
rust:
|
||||||
image: didstopia/rust-server:latest
|
image: didstopia/rust-server:latest
|
||||||
|
|
Reference in a new issue