Switched config to environment variables
parent
a6e5d39811
commit
dd41150ee1
|
@ -0,0 +1 @@
|
||||||
|
FABRIC_VERSION=
|
|
@ -4,8 +4,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- 'FABRIC_VERSION=0.6.1.51'
|
- 'FABRIC_VERSION=${FABRIC_VERSION}'
|
||||||
image: 'mc-fabric-server:latest'
|
image: 'mc-fabric-server:${FABRIC_VERSION}'
|
||||||
|
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
MC_VERSION=
|
||||||
|
PAPERMC_VERSION=
|
|
@ -1,13 +1,13 @@
|
||||||
version: "3.5"
|
version: '3.5'
|
||||||
services:
|
services:
|
||||||
papermc:
|
papermc:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
- 'MC_VERSION='
|
- 'MC_VERSION=${MC_VERSION}'
|
||||||
- 'PAPERMC_VERSION='
|
- 'PAPERMC_VERSION=${PAPERMC_VERSION}'
|
||||||
image: 'mc-papermc-server:latest'
|
image: 'mc-papermc-server:${MC_VERSION}-${PAPERMC_VERSION}'
|
||||||
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
|
Reference in New Issue