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/papermc/docker-compose.yml

24 lines
611 B
YAML
Raw Normal View History

version: '3.5'
2020-12-30 12:53:37 +01:00
services:
papermc:
build:
context: .
dockerfile: Dockerfile
args:
- 'MC_VERSION=${MC_VERSION}'
- 'PAPERMC_VERSION=${PAPERMC_VERSION}'
image: 'mc-papermc-server:${MC_VERSION}-${PAPERMC_VERSION}'
2020-12-30 12:53:37 +01:00
restart: unless-stopped
stdin_open: true
tty: true
environment:
- XMS=4
- XMX=4
ports:
- '25565:25565'
volumes:
- '/data/mc/papermc/worlds:/minecraft/worlds'
- '/data/mc/papermc/config:/minecraft/config'