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 13:00:24 +01:00
|
|
|
version: '3.5'
|
2020-12-30 12:53:37 +01:00
|
|
|
services:
|
|
|
|
papermc:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
2020-12-30 13:00:24 +01:00
|
|
|
- '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:
|
2020-12-30 15:13:22 +01:00
|
|
|
- XMS
|
|
|
|
- XMX
|
2020-12-30 12:53:37 +01:00
|
|
|
ports:
|
2020-12-30 15:57:45 +01:00
|
|
|
- '$PORT:25565'
|
2020-12-30 12:53:37 +01:00
|
|
|
volumes:
|
2020-12-30 15:57:45 +01:00
|
|
|
- '$CONFIG_DIR:/minecraft/config'
|
|
|
|
- '$WORLDS_DIR:/minecraft/worlds'
|