Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
54dc736c
Commit
54dc736c
authored
8 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
fix portal_db env var when waiting for db ready
parent
08bf5961
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/runner/run.sh
+2
-2
2 additions, 2 deletions
docker/runner/run.sh
with
2 additions
and
2 deletions
docker/runner/run.sh
+
2
−
2
View file @
54dc736c
#!/bin/sh
OPTS
=
"-template /config/application.tmpl:/config/application.yml"
if
[
!
-z
"
$PORTAL_DB_
URL
"
]
;
then
OPTS
=
"
$OPTS
-wait tcp://
$PORTAL_DB_
URL
-timeout 60s"
if
[
!
-z
"
$PORTAL_DB_
SERVER
"
]
;
then
OPTS
=
"
$OPTS
-wait tcp://
$PORTAL_DB_
SERVER
-timeout 60s"
fi
if
[
!
-z
"
$META_DB_SERVER
"
]
;
then
OPTS
=
"
$OPTS
-wait tcp://
$META_DB_SERVER
-timeout 60s"
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment