Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HAfAH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
HAfAH
Commits
1431a21d
Commit
1431a21d
authored
1 year ago
by
Bartek Wrona
Browse files
Options
Downloads
Patches
Plain Diff
HAFAH docker entrypoint supports variable expansion in database url connection strings
parent
5aa26413
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!118
Changes done across v1.27.5.0-rc0 - v1.27.5.0-rc7 versions in the develop branch to be delivered to master
,
!103
Cleanup of application setup scripts like also improved docker entrypoint to better support error handling
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/docker_entrypoint.sh
+4
-2
4 additions, 2 deletions
docker/docker_entrypoint.sh
with
4 additions
and
2 deletions
docker/docker_entrypoint.sh
+
4
−
2
View file @
1431a21d
...
...
@@ -49,10 +49,12 @@ DO_UNINSTALL=0
while
[
$#
-gt
0
]
;
do
case
"
$1
"
in
--psql-db-path
=
*
)
export
POSTGRES_URL
=
"
${
1
#*=
}
"
POSTGRES_URL_RAW
=
"
${
1
#*=
}
"
export
POSTGRES_URL
=
$(
bash
-c
"echo
${
POSTGRES_URL_RAW
}
"
)
;;
--postgres-url
=
*
)
export
POSTGRES_URL
=
"
${
1
#*=
}
"
POSTGRES_URL_RAW
=
"
${
1
#*=
}
"
export
POSTGRES_URL
=
$(
bash
-c
"echo
${
POSTGRES_URL_RAW
}
"
)
;;
--port
=
*
)
export
HTTP_PORT
=
"
${
1
#*=
}
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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