Switched config to environment variables
This commit is contained in:
parent
a6e5d39811
commit
dd41150ee1
4 changed files with 9 additions and 6 deletions
1
fabric/.env.example
Normal file
1
fabric/.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
FABRIC_VERSION=
|
||||
|
|
@ -4,8 +4,8 @@ services:
|
|||
build:
|
||||
context: .
|
||||
args:
|
||||
- 'FABRIC_VERSION=0.6.1.51'
|
||||
image: 'mc-fabric-server:latest'
|
||||
- 'FABRIC_VERSION=${FABRIC_VERSION}'
|
||||
image: 'mc-fabric-server:${FABRIC_VERSION}'
|
||||
|
||||
restart: 'unless-stopped'
|
||||
stdin_open: true
|
||||
|
|
|
|||
Reference in a new issue