Added first 3 gameserver docker-compose templates
This commit is contained in:
26
gameservers/minecraft/docker-compose.yml
Normal file
26
gameservers/minecraft/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
vanilla-minecraft-server:
|
||||||
|
image: itzg/minecraft-server:java8-multiarch
|
||||||
|
container_name: vanilla-minecraft-server
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
environment:
|
||||||
|
- MEMORY=2G # set this based on number of players you expect
|
||||||
|
- EULA=TRUE
|
||||||
|
- VERSION=1.20 # it's a good idea to set this statically, and only update minor versions
|
||||||
|
# updating to a new major version on the same world will make borders between new and old chunks clash
|
||||||
|
- TYPE=VANILLA
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
ports:
|
||||||
|
- 25565:25565/udp
|
||||||
|
- 25565:25565/tcp
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-tier:
|
||||||
|
external: true
|
29
gameservers/modded-minecraft/docker-compose.yml
Normal file
29
gameservers/modded-minecraft/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
modded-minecraft-server:
|
||||||
|
image: itzg/minecraft-server:latest
|
||||||
|
container_name: modded-minecraft-server
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
environment:
|
||||||
|
- MEMORY=4G
|
||||||
|
- EULA=TRUE
|
||||||
|
- VERSION=1.20 # it's a good idea to set this statically, and only update minor versions
|
||||||
|
# updating to a new major version on the same world will make borders between new and old chunks clash
|
||||||
|
- TYPE=FABRIC
|
||||||
|
# - TYPE=FORGE
|
||||||
|
# before you start the container, make sure your mods are in the data/mods directory!
|
||||||
|
# some mods, especially biome mods, won't work right unless they are there when the world is generated
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
ports:
|
||||||
|
- 27565:25565/udp
|
||||||
|
- 27565:25565/tcp
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-tier:
|
||||||
|
external: true
|
22
gameservers/terraria/docker-compose.yml
Normal file
22
gameservers/terraria/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
terraria-server:
|
||||||
|
image: ghcr.io/beardedio/terraria:latest
|
||||||
|
container_name: terraria-server
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
environment:
|
||||||
|
- world=YourWorldName # use this if you already have a world save in the config directory
|
||||||
|
# comment out the above two lines if you don't have a world and need to generate one
|
||||||
|
networks:
|
||||||
|
- proxy-tier
|
||||||
|
volumes:
|
||||||
|
- ./config:/config
|
||||||
|
ports:
|
||||||
|
- 7777:7777
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-tier:
|
||||||
|
external: true
|
Reference in New Issue
Block a user