Add minecraft compose file

This commit is contained in:
Fabian Schmidt 2024-09-23 16:23:42 +02:00
parent 9c8990b46f
commit 247753cdc8

25
minecraft/compose.yml Normal file
View File

@ -0,0 +1,25 @@
services:
server:
image: itzg/minecraft-server
container_name: mc
environments:
- EULA=TRUE
- VERSION="1.17.1"
- TYPE=FABRIC
ports:
- 25566:25565
volumes:
- /srv/minecraft/fabric:/data
skyblock:
image: itzg/minecraft-server:java17
container_name: skyblock
environments:
- EULA=TRUE
- VERSION="1.19.2"
- TYPE=FABRIC
- MEMORY=4G
ports:
- 25567:25565
volumes:
- /srv/minecraft/skyblock:/data