2023-12-03 23:50:50 +02:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
minecraft-server:
|
|
|
|
volumes:
|
2024-03-20 12:04:22 +02:00
|
|
|
- ./server:/data
|
|
|
|
- ./mods:/data/mods
|
2023-12-03 23:50:50 +02:00
|
|
|
environment:
|
2024-03-20 12:04:22 +02:00
|
|
|
- TYPE=FABRIC
|
2023-12-03 23:50:50 +02:00
|
|
|
- MEMORY=4G
|
2024-03-20 12:04:22 +02:00
|
|
|
- VERSION=1.20.4
|
2023-12-03 23:50:50 +02:00
|
|
|
- EULA=TRUE
|
|
|
|
- MOTD=Hej och välkommen!
|
|
|
|
ports:
|
|
|
|
- '25565:25565'
|
|
|
|
container_name: minecraft
|
|
|
|
image: itzg/minecraft-server
|
|
|
|
|