mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
21 lines
358 B
YAML
21 lines
358 B
YAML
|
version: '3.8'
|
||
|
|
||
|
services:
|
||
|
minecraft:
|
||
|
image: itzg/minecraft-server
|
||
|
volumes:
|
||
|
- data:/data
|
||
|
- ./mods:/mods
|
||
|
ports:
|
||
|
- "25565:25565"
|
||
|
environment:
|
||
|
EULA: "true"
|
||
|
TYPE: "FORGE"
|
||
|
VERSION: "1.19.2"
|
||
|
DEBUG: "true"
|
||
|
SETUP_ONLY: "true"
|
||
|
tty: True
|
||
|
stdin_open: True
|
||
|
|
||
|
volumes:
|
||
|
data: {}
|