From edba7d899d8b441a6f2773c20d06aa3127a04bc4 Mon Sep 17 00:00:00 2001 From: marlon Date: Sat, 21 Dec 2024 12:37:46 -0500 Subject: [PATCH] update docs and healthcheck --- README.md | 13 ++++++++++++- compose.yml | 4 ++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 19c5bba..900b021 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,18 @@ - Set GITLAB_ROOT_EMAIL to an appropriate email address - `abra app deploy ` -### SSO Configuration +## Accessing Git via SSH + +GitLab is configured to accept ssh:// git connections on the non-standard port 2222. This is because by default the Coop Cloud host server also must accept SSH connections for server management, so port 22 is already occupied and can't be used by GitLab. + +To configure your local git client to use the non-standard port by default, modify your local client's ~/.ssh/config file to include the following: +``` +Host: git.yourserver.org + Hostname: git.yourserver.org + Port 2222 +``` + +## SSO Configuration - Create a Provider and Application in Authentik: https://docs.goauthentik.io/integrations/services/gitlab/#openid-connect-auth - Note the Provider ID and Secret diff --git a/compose.yml b/compose.yml index 64e7469..f8266aa 100644 --- a/compose.yml +++ b/compose.yml @@ -43,11 +43,11 @@ services: - runner_token - sso_provider_secret healthcheck: - test: ["CMD", "curl", "-f", "http://localhost/"] + test: ["CMD", "bash", "/opt/gitlab/etc/gitlab-healthcheck-rc" ] interval: 30s timeout: 10s retries: 10 - start_period: 1m + start_period: 2m secrets: initial_root_password: