Compare commits
No commits in common. "release" and "label_token_rebase" have entirely different histories.
release
...
label_toke
|
@ -2,7 +2,6 @@ services:
|
|||
|
||||
idhub:
|
||||
init: true
|
||||
image: farga.pangea.org/ereuse/idhub:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/idhub.Dockerfile
|
||||
|
|
|
@ -17,10 +17,8 @@ END
|
|||
|
||||
inject_env_vars() {
|
||||
# related https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/
|
||||
if [ -d "${idhub_dir}/.git" ]; then
|
||||
git config --global --add safe.directory "${idhub_dir}"
|
||||
export COMMIT="commit: $(git log --pretty=format:'%h' -n 1)"
|
||||
fi
|
||||
|
||||
cat > status_data <<END
|
||||
DOMAIN=${DOMAIN}
|
||||
|
@ -120,8 +118,7 @@ runserver() {
|
|||
elif [ "${DEMO:-}" = 'true' ]; then
|
||||
VAULT_PASSWORD="DEMO"
|
||||
# open_service: automatically unlocks the vault,
|
||||
# and runs the service
|
||||
# useful for debugging/dev/demo purposes ./manage.py
|
||||
# useful for debugging/dev purposes ./manage.py
|
||||
./manage.py open_service "${VAULT_PASSWORD}" 0.0.0.0:${PORT}
|
||||
else
|
||||
./manage.py runserver 0.0.0.0:${PORT}
|
||||
|
|
Loading…
Reference in a new issue