This repository has been archived on 2021-12-24. You can view files and clone it, but cannot push or open issues/pull-requests.
self-hosting/fabric/docker-compose.yml

23 lines
547 B
YAML
Raw Normal View History

2020-12-30 12:24:21 +01:00
version: '3.5'
services:
fabric:
build:
context: .
args:
- '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:
- 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'