Merge pull request #2638 from GunniBusch/main
[TEMPLATE] Add GitLab template
This commit is contained in:
1
public/svgs/gitlab.svg
Normal file
1
public/svgs/gitlab.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 380 380"><defs><style>.cls-1{fill:#e24329;}.cls-2{fill:#fc6d26;}.cls-3{fill:#fca326;}</style></defs><g id="LOGO"><path class="cls-1" d="M282.83,170.73l-.27-.69-26.14-68.22a6.81,6.81,0,0,0-2.69-3.24,7,7,0,0,0-8,.43,7,7,0,0,0-2.32,3.52l-17.65,54H154.29l-17.65-54A6.86,6.86,0,0,0,134.32,99a7,7,0,0,0-8-.43,6.87,6.87,0,0,0-2.69,3.24L97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82,19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91,40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-2" d="M282.83,170.73l-.27-.69a88.3,88.3,0,0,0-35.15,15.8L190,229.25c19.55,14.79,36.57,27.64,36.57,27.64l40.06-30,.1-.08A48.56,48.56,0,0,0,282.83,170.73Z"/><path class="cls-3" d="M153.43,256.89l19.7,14.91,12,9.06a8.07,8.07,0,0,0,9.76,0l12-9.06,19.7-14.91S209.55,244,190,229.25C170.45,244,153.43,256.89,153.43,256.89Z"/><path class="cls-2" d="M132.58,185.84A88.19,88.19,0,0,0,97.44,170l-.26.69a48.54,48.54,0,0,0,16.1,56.1l.09.07.24.17,39.82,29.82s17-12.85,36.57-27.64Z"/></g></svg>
|
After Width: | Height: | Size: 1.0 KiB |
35
templates/compose/gitlab.yaml
Normal file
35
templates/compose/gitlab.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# documentation: https://docs.gitlab.com/ee/install/docker.html
|
||||
# slogan: GitLab: The all-in-one DevOps platform for seamless collaboration and continuous delivery.
|
||||
# tags: gitlab, devops, continuousintegration, continuousdelivery, versioncontrol, collaboration, ci/cd, sourcecodemanagement, automation, codereview, agiledevelopment, projectmanagement, opensource, repositoryhosting, pipelineautomation, git, softwaredevelopment, issuetracking, teamcollaboration, deploymentautomation, securityintegration
|
||||
# icon: svgs/gitlab.svg
|
||||
# port: 80
|
||||
|
||||
services:
|
||||
gitlab:
|
||||
image: 'gitlab/gitlab-ce:latest'
|
||||
container_name: gitlab
|
||||
restart: always
|
||||
hostname: '${SERVICE_URL_GITLAB}'
|
||||
environment:
|
||||
- SERVICE_FQDN_GITLAB_80
|
||||
- EXTERNAL_URL=$SERVICE_FQDN_GITLAB
|
||||
- GITLAB_HOST=$SERVICE_FQDN_GITLAB
|
||||
- GITLAB_SMTP_ENABLE=${GITLAB_SMTP_ENABLE:-false}
|
||||
- GITLAB_SMTP_ADDRESS=$GITLAB_SMTP_ADDRESS
|
||||
- GITLAB_SMTP_PORT=${GITLAB_SMTP_PORT:-587}
|
||||
- GITLAB_SMTP_USER_NAME=${GITLAB_SMTP_USER_NAME}
|
||||
- GITLAB_SMTP_PASSWORD=${GITLAB_SMTP_PASSWORD}
|
||||
- GITLAB_SMTP_DOMAIN=${GITLAB_SMTP_DOMAIN}
|
||||
- GITLAB_STARTTLS_AUTO=${GITLAB_STARTTLS_AUTO:-true}
|
||||
- GITLAB_SMTP_TLS=${GITLAB_SMTP_TLS:-false}
|
||||
- GITLAB_EMAIL_FROM=${GITLAB_EMAIL_FROM}
|
||||
- GITLAB_EMAIL_REPLY_TO=$GITLAB_EMAIL_REPLY_TO
|
||||
- 'GITLAB_OMNIBUS_CONFIG=external_url "${SERVICE_FQDN_GITLAB}"; nginx["listen_https"] = false; nginx["listen_port"] = 80; gitlab_rails["gitlab_shell_ssh_port"] = 2222; gitlab_rails["smtp_enable"] = ${GITLAB_SMTP_ENABLE}; gitlab_rails["smtp_address"] = "${GITLAB_SMTP_ADDRESS}"; gitlab_rails["smtp_port"] = ${GITLAB_SMTP_PORT}; gitlab_rails["smtp_user_name"] = "${GITLAB_SMTP_USER_NAME}"; gitlab_rails["smtp_password"] = "${GITLAB_SMTP_PASSWORD}"; gitlab_rails["smtp_domain"] = "${GITLAB_SMTP_DOMAIN}"; gitlab_rails["smtp_authentication"] = "login"; gitlab_rails["smtp_enable_starttls_auto"] = ${GITLAB_STARTTLS_AUTO}; gitlab_rails["smtp_tls"] = ${GITLAB_SMTP_TLS}; gitlab_rails["gitlab_email_from"] = "${GITLAB_EMAIL_FROM}"; gitlab_rails["gitlab_email_reply_to"] = "${GITLAB_EMAIL_REPLY_TO}";'
|
||||
ports:
|
||||
- '2222:22'
|
||||
volumes:
|
||||
- 'gitlab-config:/etc/gitlab'
|
||||
- 'gitlab-logs:/var/log/gitlab'
|
||||
- 'gitlab-data:/var/opt/gitlab'
|
||||
shm_size: 256m
|
||||
|
Reference in New Issue
Block a user