Quote extension name
This commit is contained in:
parent
5a7b12ffde
commit
d3ffffae98
|
@ -32,7 +32,7 @@ _EOSQL
|
|||
if [ -n "${DB_EXTENSIONS}" ]; then
|
||||
for EXT in $(echo ${DB_EXTENSIONS} | sed -e 's/,/\n/g'); do
|
||||
psql -d ${DB_NAME} <<_EOSQL
|
||||
CREATE EXTENSION IF NOT EXISTS ${EXT};
|
||||
CREATE EXTENSION IF NOT EXISTS "${EXT}";
|
||||
_EOSQL
|
||||
done
|
||||
fi
|
||||
|
|
|
@ -74,7 +74,7 @@ job "postgres-manage" {
|
|||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "danielberteaud/ldap2pg:6.0-7"
|
||||
image = "danielberteaud/ldap2pg:6.0-8"
|
||||
readonly_rootfs = true
|
||||
pids_limit = 20
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ _EOSQL
|
|||
if [ -n "${DB_EXTENSIONS}" ]; then
|
||||
for EXT in $(echo ${DB_EXTENSIONS} | sed -e 's/,/\n/g'); do
|
||||
psql -d ${DB_NAME} <<_EOSQL
|
||||
CREATE EXTENSION IF NOT EXISTS ${EXT};
|
||||
CREATE EXTENSION IF NOT EXISTS "${EXT}";
|
||||
_EOSQL
|
||||
done
|
||||
fi
|
||||
|
|
|
@ -171,7 +171,7 @@ pg:
|
|||
# manage can create database, users and sync permissions from LDAP (using ldap2pg)
|
||||
manage:
|
||||
# Image to use
|
||||
image: '[[ .docker.repo ]]ldap2pg:6.0-7'
|
||||
image: '[[ .docker.repo ]]ldap2pg:6.0-8'
|
||||
|
||||
# Resource allocation
|
||||
resources:
|
||||
|
|
Loading…
Reference in New Issue