Add documentation and new healthcheck
This commit is contained in:
parent
75f0357c7b
commit
40e56f6420
@ -6,6 +6,7 @@ REGISTRY_DOMAIN=registry.gitlab.example.com
|
|||||||
# The Gitlab Pages domain must not be a subdomain of the main Gitlab domain
|
# The Gitlab Pages domain must not be a subdomain of the main Gitlab domain
|
||||||
PAGES_DOMAIN=pages.example.com
|
PAGES_DOMAIN=pages.example.com
|
||||||
|
|
||||||
|
# Prevent public signups
|
||||||
POST_DEPLOY_CMDS=disable_signups
|
POST_DEPLOY_CMDS=disable_signups
|
||||||
|
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
|
26
README.md
26
README.md
@ -1,24 +1,36 @@
|
|||||||
# gitlab
|
# gitlab
|
||||||
|
|
||||||
> One line description of the recipe
|
> GitLab server, using GitLab omnibus
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 0
|
* **Status**: 0
|
||||||
* **Image**: [`gitlab`](https://hub.docker.com/r/gitlab), 4, upstream
|
* **Image**: [`gitlab`](https://hub.docker.com/r/gitlab), 4, upstream
|
||||||
* **Healthcheck**: No
|
* **Healthcheck**: Yes
|
||||||
* **Backups**: No
|
* **Backups**: Yes
|
||||||
* **Email**: No
|
* **Email**: No
|
||||||
* **Tests**: No
|
* **Tests**: No
|
||||||
* **SSO**: No
|
* **SSO**: 1 (OAuth)
|
||||||
|
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
* `abra app new gitlab --secrets`
|
- `abra app new gitlab --secrets`
|
||||||
* `abra app config <app-name>`
|
- `abra app config <app-name>`
|
||||||
* `abra app deploy <app-name>`
|
- Set REGISTRY_DOMAIN to a domain that you want to use for the GitLab container registry (optional)
|
||||||
|
- Set PAGES_DOMAIN to a domain that you want to use for the GitLab Pages service. NOTE: This cannot be a subdomain of the domain GitLab is hosted under. (optional)
|
||||||
|
- Set GITLAB_ROOT_EMAIL to an appropriate email address
|
||||||
|
- `abra app deploy <app-name>`
|
||||||
|
|
||||||
|
### 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
|
||||||
|
- Run `abra app config <app-name>`
|
||||||
|
- Uncomment the Authentik Configuration config block
|
||||||
|
- Set `SSO_PROVIDER_ID` to the Authentik Provider ID
|
||||||
|
- Run `abra app secret insert <app-name> sso_provider_secret v1 <Authentik Provider Secret>`
|
||||||
|
|
||||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
@ -43,7 +43,7 @@ services:
|
|||||||
- runner_token
|
- runner_token
|
||||||
- sso_provider_secret
|
- sso_provider_secret
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost/-/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user