Skip to content

Instantly share code, notes, and snippets.

@TheTinkerDad
Created April 23, 2021 12:08
Show Gist options
  • Save TheTinkerDad/8e5333112dd5b7a9cbb31ed3e68e9bcf to your computer and use it in GitHub Desktop.
Save TheTinkerDad/8e5333112dd5b7a9cbb31ed3e68e9bcf to your computer and use it in GitHub Desktop.
version: "3"
networks:
default:
driver: macvlan
driver_opts:
parent: enp7s0
ipam:
config:
- subnet: 192.168.1.0/24
services:
minecraft-bedrock1:
image: itzg/minecraft-bedrock-server
container_name: "minecraft-bedrock1"
environment:
- EULA=TRUE
- SERVER_NAME=PeacefulFun
- ALLOW_CHEATS=false
- DEFAULT_PLAYER_PERMISSION_LEVEL=member
- ONLINE_MODE=false
- MAX_THREADS=8
- GAMEMODE=survival
- DIFFICULTY=peaceful
- VIEW_DISTANCE=32
- TICK_DISTANCE=4
volumes:
- ./data1:/data
ports:
- 19132:19132/udp
- 19132:19132
stdin_open: true
tty: true
networks:
default:
ipv4_address: 192.168.1.201
minecraft-bedrock2:
image: itzg/minecraft-bedrock-server
container_name: "minecraft-bedrock2"
environment:
- EULA=TRUE
- SERVER_NAME=MonsterFun
- ALLOW_CHEATS=false
- DEFAULT_PLAYER_PERMISSION_LEVEL=member
- ONLINE_MODE=false
- MAX_THREADS=8
- GAMEMODE=survival
- DIFFICULTY=easy
- VIEW_DISTANCE=32
- TICK_DISTANCE=4
volumes:
- ./data2:/data
ports:
- 19132:19132/udp
- 19132:19132
stdin_open: true
tty: true
networks:
default:
ipv4_address: 192.168.1.202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment