Rename to DOCKER_CUSTOM_ENV
This commit is contained in:
@@ -52,7 +52,7 @@ dokku postgres:create lolipop
|
||||
# official postgres image
|
||||
export POSTGRES_IMAGE="postgres"
|
||||
export POSTGRES_IMAGE_VERSION="9.4.4"
|
||||
export POSTGRES_DOCKER_ARGS="USER=alpha;HOST=beta"
|
||||
export POSTGRES_CUSTOM_ENV="USER=alpha;HOST=beta"
|
||||
dokku postgres:create lolipop
|
||||
|
||||
# get connection information as follows
|
||||
|
||||
4
commands
4
commands
@@ -31,8 +31,8 @@ case "$1" in
|
||||
touch "$LINKS_FILE"
|
||||
|
||||
dokku_log_info1 "Starting container"
|
||||
if [[ -n $POSTGRES_DOCKER_ARGS ]]; then
|
||||
echo "$POSTGRES_DOCKER_ARGS" | tr ';' "\n" > "$SERVICE_ROOT/ENVIRONMENT"
|
||||
if [[ -n $POSTGRES_CUSTOM_ENV ]]; then
|
||||
echo "$POSTGRES_CUSTOM_ENV" | tr ';' "\n" > "$SERVICE_ROOT/ENVIRONMENT"
|
||||
else
|
||||
echo "" > "$SERVICE_ROOT/ENVIRONMENT"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user