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 14:02:22 +01:00
|
|
|
version: '3.5'
|
|
|
|
services:
|
2021-01-26 13:45:30 +01:00
|
|
|
app:
|
2020-12-30 14:02:22 +01:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
2021-01-26 13:45:30 +01:00
|
|
|
- 'MC_VERSION'
|
|
|
|
- 'FORGE_VERSION'
|
|
|
|
image: 'chewingbever/mc-forge:${MC_VERSION}-${FORGE_VERSION}'
|
2020-12-30 14:02:22 +01:00
|
|
|
|
2021-01-26 13:45:30 +01:00
|
|
|
restart: 'always'
|
2020-12-30 14:02:22 +01:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
|
|
|
|
environment:
|
2020-12-30 15:13:22 +01:00
|
|
|
- XMS
|
|
|
|
- XMX
|
2020-12-30 14:02:22 +01:00
|
|
|
ports:
|
2020-12-30 15:57:45 +01:00
|
|
|
- '$PORT:25565'
|
2020-12-30 14:02:22 +01:00
|
|
|
volumes:
|
2021-01-26 13:45:30 +01:00
|
|
|
- '$CONFIG_DIR:/app/config'
|
|
|
|
- '$WORLDS_DIR:/app/worlds'
|
|
|
|
|
|
|
|
# These volumes only get created if you use them in the env file
|
|
|
|
volumes:
|
|
|
|
config:
|
|
|
|
worlds:
|