This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
2020-12-30 12:24:21 +01:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
|
|
|
fabric:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
2020-12-30 13:00:24 +01:00
|
|
|
- 'FABRIC_VERSION=${FABRIC_VERSION}'
|
|
|
|
image: 'mc-fabric-server:${FABRIC_VERSION}'
|
2020-12-30 12:24:21 +01:00
|
|
|
|
|
|
|
restart: 'unless-stopped'
|
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
|
|
|
|
environment:
|
2020-12-30 15:13:22 +01:00
|
|
|
- XMS
|
|
|
|
- XMX
|
2020-12-30 12:24:21 +01:00
|
|
|
ports:
|
|
|
|
- '25565:25565'
|
|
|
|
volumes:
|
2020-12-30 12:53:37 +01:00
|
|
|
- '/data/mc/fabric/config:/mc/config'
|
|
|
|
- '/data/mc/fabric/mods:/mc/config/mods'
|
|
|
|
- '/data/mc/fabric/worlds:/mc/worlds'
|