mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:28:35 +02:00
✨ Init DB JDBC URI from base DB params
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
This commit is contained in:
parent
d17db88088
commit
9c61389830
2 changed files with 7 additions and 0 deletions
|
@ -4,5 +4,11 @@ set -e
|
|||
echo "Synchronize static data..."
|
||||
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 '"')\""
|
||||
echo "Database connection string: $UXBOX_DATABASE_URI"
|
||||
fi
|
||||
|
||||
echo "Setting up UXBOX Backend..."
|
||||
exec "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue