0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fix DB URI generation

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
mathieu.brunot 2019-12-27 05:34:55 +01:00 committed by Andrey Antukh
parent 4a4b0a0c3b
commit 6d3232e70a

View file

@ -6,7 +6,7 @@ rsync -avr --delete ./resources/public/static/ ./data/static/
if [ -z "$UXBOX_DATABASE_URI" ]; then
echo "Initializing database connection string..."
UXBOX_DATABASE_URI="\"jdbc:postgresql://$(echo ${UXBOX_DATABASE_SERVER} | tr -d '"'):${UXBOX_DATABASE_PORT}/$(echo ${UXBOX_DATABASE_NAME} | tr -d '"')\""
UXBOX_DATABASE_URI="\"postgresql://$(echo ${UXBOX_DATABASE_SERVER} | tr -d '"'):${UXBOX_DATABASE_PORT}/$(echo ${UXBOX_DATABASE_NAME} | tr -d '"')\""
echo "Database connection string: $UXBOX_DATABASE_URI"
fi