mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
21 lines
400 B
YAML
21 lines
400 B
YAML
version: "3"
|
|
|
|
services:
|
|
mc:
|
|
# Only using IMAGE variable to allow for local testing
|
|
image: itzg/minecraft-server
|
|
# image: ${IMAGE:-itzg/minecraft-server}
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: "TRUE"
|
|
TYPE: SPIGOT
|
|
# SPIGET_RESOURCES: 34315,3836
|
|
SPIGET_RESOURCES: ""
|
|
REMOVE_OLD_MODS: "true"
|
|
volumes:
|
|
- data:/data
|
|
|
|
volumes:
|
|
data: {}
|