forked from sameersbn/docker-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sameersbn#2912 Handle openid_connect_signing_key variable to enable b…
…ackup/restore & restarts without errors
- Loading branch information
Showing
12 changed files
with
104 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,111 +14,17 @@ spec: | |
spec: | ||
containers: | ||
- name: gitlab | ||
image: sameersbn/gitlab:16.9.1 | ||
image: bash | ||
command: ["sleep", "10000"] | ||
env: | ||
- name: TZ | ||
value: Asia/Kolkata | ||
- name: GITLAB_TIMEZONE | ||
value: Kolkata | ||
|
||
- name: GITLAB_SECRETS_DB_KEY_BASE | ||
value: long-and-random-alpha-numeric-string | ||
- name: GITLAB_SECRETS_SECRET_KEY_BASE | ||
value: long-and-random-alpha-numeric-string | ||
- name: GITLAB_SECRETS_OTP_KEY_BASE | ||
value: long-and-random-alpha-numeric-string | ||
|
||
- name: GITLAB_ROOT_PASSWORD | ||
value: | ||
- name: GITLAB_ROOT_EMAIL | ||
value: | ||
|
||
- name: GITLAB_HOST | ||
value: git.default.cluster.local | ||
- name: GITLAB_PORT | ||
value: "80" | ||
- name: GITLAB_SSH_PORT | ||
value: "22" | ||
|
||
- name: GITLAB_NOTIFY_ON_BROKEN_BUILDS | ||
value: "true" | ||
- name: GITLAB_NOTIFY_PUSHER | ||
value: "false" | ||
|
||
- name: GITLAB_BACKUP_SCHEDULE | ||
value: daily | ||
- name: GITLAB_BACKUP_TIME | ||
value: 01:00 | ||
|
||
- name: DB_TYPE | ||
value: postgres | ||
- name: DB_HOST | ||
value: postgresql | ||
- name: DB_PORT | ||
value: "5432" | ||
- name: DB_USER | ||
value: gitlab | ||
- name: DB_PASS | ||
value: passw0rd | ||
- name: DB_NAME | ||
value: gitlab_production | ||
|
||
- name: REDIS_HOST | ||
value: redis | ||
- name: REDIS_PORT | ||
value: "6379" | ||
|
||
- name: SMTP_ENABLED | ||
value: "false" | ||
- name: SMTP_DOMAIN | ||
value: www.example.com | ||
- name: SMTP_HOST | ||
value: smtp.gmail.com | ||
- name: SMTP_PORT | ||
value: "587" | ||
- name: SMTP_USER | ||
value: [email protected] | ||
- name: SMTP_PASS | ||
value: password | ||
- name: SMTP_STARTTLS | ||
value: "true" | ||
- name: SMTP_AUTHENTICATION | ||
value: login | ||
|
||
- name: IMAP_ENABLED | ||
value: "false" | ||
- name: IMAP_HOST | ||
value: imap.gmail.com | ||
- name: IMAP_PORT | ||
value: "993" | ||
- name: IMAP_USER | ||
value: [email protected] | ||
- name: IMAP_PASS | ||
value: password | ||
- name: IMAP_SSL | ||
value: "true" | ||
- name: IMAP_STARTTLS | ||
value: "false" | ||
ports: | ||
- name: http | ||
containerPort: 80 | ||
- name: ssh | ||
containerPort: 22 | ||
volumeMounts: | ||
- mountPath: /home/git/data | ||
name: data | ||
livenessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 180 | ||
timeoutSeconds: 5 | ||
readinessProbe: | ||
httpGet: | ||
path: / | ||
port: 80 | ||
initialDelaySeconds: 5 | ||
timeoutSeconds: 1 | ||
volumes: | ||
- name: data | ||
emptyDir: {} | ||
- name: GITLAB_SECRETS_OPENID_CONNECT_SIGNING_KEY | ||
value: |- | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIBOgIBAAJBAKj34GkxFhD90vcNLYLInFEX6Ppy1tPf9Cnzj4p4WGeKLs1Pt8Qu | ||
KUpRKfFLfRYC9AIKjbJTWit+CqvjWYzvQwECAwEAAQJAIJLixBy2qpFoS4DSmoEm | ||
o3qGy0t6z09AIJtH+5OeRV1be+N4cDYJKffGzDa88vQENZiRm0GRq6a+HPGQMd2k | ||
TQIhAKMSvzIBnni7ot/OSie2TmJLY4SwTQAevXysE2RbFDYdAiEBCUEaRQnMnbp7 | ||
9mxDXDf6AU0cN/RPBjb9qSHDcWZHGzUCIG2Es59z8ugGrDY+pxLQnwfotadxd+Uy | ||
v/Ow5T0q5gIJAiEAyS4RaI9YG8EWx/2w0T67ZUVAw8eOMB6BIUg0Xcu+3okCIBOs | ||
/5OiPgoTdSy7bcF9IGpSE8ZgGKzgYQVZeN97YE00 | ||
-----END RSA PRIVATE KEY----- |