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
514 B
YAML

version: '3.5'
services:
fabric:
build:
context: .
args:
- 'FABRIC_VERSION=${FABRIC_VERSION}'
image: 'mc-fabric-server:${FABRIC_VERSION}'
restart: 'unless-stopped'
stdin_open: true
tty: true
environment:
- XMS
- XMX
ports:
- '$PORT:25565'
volumes:
- '$CONFIG_DIR:/mc/config'
- '$MODS_DIR:/mc/config/mods'
- '$WORLDS_DIR:/mc/worlds'