mirror of
https://github.com/bitnami/containers.git
synced 2026-03-12 06:48:14 +08:00
Entrypoint admits new and old Env Variables Names
This commit is contained in:
@@ -16,10 +16,15 @@ function initialize {
|
||||
|
||||
# Set default values
|
||||
export PARSE_SERVER_PORT=${PARSE_SERVER_PORT:-"1337"}
|
||||
export PARSE_SERVER_PORT=${PARSE_PORT:-$PARSE_SERVER_PORT}
|
||||
export PARSE_SERVER_HOST=${PARSE_SERVER_HOST:-"127.0.0.1"}
|
||||
export PARSE_SERVER_HOST=${PARSE_HOST:-$PARSE_SERVER_HOST}
|
||||
export PARSE_SERVER_MOUNT_PATH=${PARSE_SERVER_MOUNT_PATH:-"/parse"}
|
||||
export PARSE_SERVER_MOUNT_PATH=${PARSE_MOUNT_PATH:-$PARSE_SERVER_MOUNT_PATH}
|
||||
export PARSE_SERVER_APP_ID=${PARSE_SERVER_APP_ID:-"myappID"}
|
||||
export PARSE_SERVER_APP_ID=${PARSE_APP_ID:-$PARSE_SERVER_APP_ID}
|
||||
export PARSE_SERVER_MASTER_KEY=${PARSE_SERVER_MASTER_KEY:-"mymasterKey"}
|
||||
export PARSE_SERVER_MASTER_KEY=${PARSE_MASTER_KEY:-$PARSE_SERVER_MASTER_KEY}
|
||||
export MONGODB_HOST=${MONGODB_HOST:-"mongodb"}
|
||||
export MONGODB_PORT=${MONGODB_PORT:-"27017"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user