mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Update docker config file with check for new variables
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
})
|
||||
|
||||
if (process.env.GAME_TYPE === 'reforger') {
|
||||
['REFORGER_CONFIGS', 'REFORGER_PROFILES', 'REFORGER_REGION', 'REFORGER_WORKSHOP'].forEach(function (environmentVariable) {
|
||||
['REFORGER_CONFIGS', 'REFORGER_LOGS', 'REFORGER_PROFILES', 'REFORGER_WORKSHOP'].forEach(function (environmentVariable) {
|
||||
if (!process.env[environmentVariable]) {
|
||||
console.log('Missing required environment variable "' + environmentVariable + '"')
|
||||
process.exit(1)
|
||||
|
Reference in New Issue
Block a user