update docs and healthcheck

This commit is contained in:
marlon 2024-12-21 12:37:46 -05:00
parent 5fe48431c9
commit edba7d899d
2 changed files with 14 additions and 3 deletions

View File

@ -24,7 +24,18 @@
- Set GITLAB_ROOT_EMAIL to an appropriate email address
- `abra app deploy <app-name>`
### 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

View File

@ -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: