Commit 88d73ac6 authored by Ash McKenzie's avatar Ash McKenzie

Set Rails hostname, port and https for Gitpod

parent 72bdd37f
...@@ -16,6 +16,10 @@ tasks: ...@@ -16,6 +16,10 @@ tasks:
# GitLab # GitLab
[[ -d /workspace/gitlab ]] && ln -fs /workspace/gitlab /workspace/gitlab-development-kit/gitlab [[ -d /workspace/gitlab ]] && ln -fs /workspace/gitlab /workspace/gitlab-development-kit/gitlab
mv /workspace/gitlab-development-kit/secrets.yml /workspace/gitlab-development-kit/gitlab/config mv /workspace/gitlab-development-kit/secrets.yml /workspace/gitlab-development-kit/gitlab/config
# update gdk.yml
gdk config set gitlab.rails.hostname $(gp url 3000 | sed -e 's+^http[s]*://++')
gdk config set gitlab.rails.port 443
gdk config set gitlab.rails.https.enabled true
# reconfigure GDK # reconfigure GDK
echo "$(date) – Reconfiguring GDK" | tee -a /workspace/startup.log echo "$(date) – Reconfiguring GDK" | tee -a /workspace/startup.log
gdk reconfigure gdk reconfigure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment