mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
21 lines
408 B
YAML
21 lines
408 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
mc:
|
||
|
image: itzg/minecraft-server:java8-multiarch
|
||
|
volumes:
|
||
|
- data:/data
|
||
|
- ./modpacks:/modpacks:ro
|
||
|
environment:
|
||
|
EULA: "true"
|
||
|
TYPE: FORGE
|
||
|
VERSION: "1.15.2"
|
||
|
GENERIC_PACK: /modpacks/Valhelsia_2-2.3.4-SERVER.zip
|
||
|
MEMORY: "2G"
|
||
|
ports:
|
||
|
- "25565:25565"
|
||
|
healthcheck:
|
||
|
test: NONE
|
||
|
|
||
|
volumes:
|
||
|
data: {}
|