mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
19 lines
325 B
YAML
19 lines
325 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: "true"
|
|
TYPE: FORGE
|
|
VERSION: 1.15.2
|
|
MODS_FILE: /extras/mods.txt
|
|
REMOVE_OLD_MODS: "true"
|
|
ports:
|
|
- 25565:25565
|
|
volumes:
|
|
- data:/data
|
|
- ./mods.txt:/extras/mods.txt:ro
|
|
|
|
volumes:
|
|
data:
|