Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
1dead0a0
Commit
1dead0a0
authored
Feb 02, 2018
by
Sébastiaan Versteeg
Browse files
Merge branch 'fix-entrypoint-db' into 'master'
Wait for correct db in entrypoint See merge request
!693
parents
828a5f77
fc533ebb
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/entrypoint_production.sh
View file @
1dead0a0
...
...
@@ -5,7 +5,7 @@ set -e
>
&2
echo
"Creating Sphinx documentation"
sphinx-build
-b
html /usr/src/app/docs/ /concrexit/docs/
until
psql
-h
"
$DJANGO_POSTGRES_HOST
"
-U
"postgres"
-c
'\l'
;
do
until
psql
-h
"
$DJANGO_POSTGRES_HOST
"
-U
"postgres"
-c
'\l'
$POSTGRES_DB
;
do
>
&2
echo
"PostgreSQL is unavailable: Sleeping"
sleep
5
done
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment