add runner_token secret
This commit is contained in:
parent
9a32be5ebe
commit
24ae89f5c4
@ -12,6 +12,7 @@ ENTRYPOINT_VERSION=v1
|
|||||||
|
|
||||||
GITLAB_ROOT_EMAIL="gitlab_admin@example.com"
|
GITLAB_ROOT_EMAIL="gitlab_admin@example.com"
|
||||||
SECRET_INITIAL_ROOT_PASSWORD_VERSION=v1
|
SECRET_INITIAL_ROOT_PASSWORD_VERSION=v1
|
||||||
|
SECRET_RUNNER_TOKEN_VERSION=v1
|
||||||
|
|
||||||
SSO=false
|
SSO=false
|
||||||
## Authentik Configuration
|
## Authentik Configuration
|
||||||
|
@ -34,9 +34,11 @@ services:
|
|||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/etc/gitlab/,/var/log/gitlab/,/var/opt/gitlab/"
|
- "backupbot.backup.path=/etc/gitlab/,/var/log/gitlab/,/var/opt/gitlab/"
|
||||||
|
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-180}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+15.8.0"
|
- "coop-cloud.${STACK_NAME}.version=1.0.0+15.8.0"
|
||||||
secrets:
|
secrets:
|
||||||
- initial_root_password
|
- initial_root_password
|
||||||
|
- runner_token
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@ -48,6 +50,9 @@ secrets:
|
|||||||
initial_root_password:
|
initial_root_password:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_initial_root_password_${SECRET_INITIAL_ROOT_PASSWORD_VERSION}
|
name: ${STACK_NAME}_initial_root_password_${SECRET_INITIAL_ROOT_PASSWORD_VERSION}
|
||||||
|
runner_token:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_runner_token_${SECRET_RUNNER_TOKEN_VERSION}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
gitlabconfig:
|
gitlabconfig:
|
||||||
|
@ -713,7 +713,7 @@ gitlab_rails['omniauth_providers'] = [
|
|||||||
####! **Only applicable on initial setup, changing these settings after database
|
####! **Only applicable on initial setup, changing these settings after database
|
||||||
####! is created and seeded won't yield any change.**
|
####! is created and seeded won't yield any change.**
|
||||||
gitlab_rails['initial_root_password'] = "{{ secret "initial_root_password" }}"
|
gitlab_rails['initial_root_password'] = "{{ secret "initial_root_password" }}"
|
||||||
# gitlab_rails['initial_shared_runners_registration_token'] = "token"
|
gitlab_rails['initial_shared_runners_registration_token'] = "{{ secret "runner_token" }}"
|
||||||
|
|
||||||
#### Toggle if root password should be printed to STDOUT during initialization
|
#### Toggle if root password should be printed to STDOUT during initialization
|
||||||
# gitlab_rails['display_initial_root_password'] = false
|
# gitlab_rails['display_initial_root_password'] = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user