A guide on how to use GitLab based repositories with Coolify.
Public Repositories
You can use public repositories without any additional setup.
Select the Public repository option in the Coolify when you create a new resource.
Add your repository URL to the input field, for example: https://gitlab.com/andrasbacsai/coolify-examples
You can only use the https URL.
That’s it! Coolify will automatically pull the latest version of your repository and deploy it.
Private Repositories
Private repositories require a few more steps to setup.
Add a private key (aka Deploy Keys) to Coolify and to your GitLab repository in the Settings / Repository / Deploy Keys menu.
You can generate a new key pair with the following command:
ssh-keygen -t rsa -b 4096 -C "deploy_key"
Or you can also use Coolify to generate a new key for you in the Keys & Tokens menu.
Create a new resource and select the Private Repository (with deploy key)
Add your repository URL to the input field, for example: git@gitlab.com:andrasbacsai/coolify-examples.git
You need to use the SSH URL, so the one that starts with git@.
That’s it! Coolify will automatically pull the latest version of your repository and deploy it.
Automatic commit deployments with webhooks (Optional)
You can add a custom webhook URL to your GitLab repository to trigger a new deployment when you push to your repository.
This can be set on either public or private repositories.
In your resource, there is a Webhooks menu. In the Manual Git Webhooks section, you can find the URL what you need to set in your GitLab repository.
Set a secret key in the GitLab Webhook Secret input field.
Go to your repository in GitLab and open the Settings / Webhooks menu.
Add the URL from Coolify to the URL input field and the secret token.
Select the Push events option.
That’s it! Now when you push to your repository, GitLab will send a webhook request to Coolify and it will trigger a new deployment.
Merge request deployments with webhooks (Optional)
You can add a custom webhook URL to your GitLab repository to trigger a new deployment when you create a new merge request.
This can be set on either public or private repositories.
The process is the same as the previous one, but you need to select the Merge request events option in the Settings / Webhooks menu.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Coolify Documentation","colors":{"primary":"#6B16ED","light":"#FCD34D","dark":"#6B16ED"},"favicon":"/logo/coolify.png","logo":null,"api":{"openapi":["/openapi.yaml"]},"background":{"decoration":null,"color":{"light":null,"dark":"#181818"}},"navbar":{"links":[{"label":"Home","href":"https://coolify.io"},{"label":"Support","href":"mailto:hi@coollabs.io"}],"primary":{"type":"button","label":"Cloud","href":"https://app.coolify.io"}},"seo":{"metatags":{"og:site_name":"Coolify","og:description":"Self-hosting with superpowers.","og:title":"Coolify Documentation","og:url":"https://coolify.io","og:locale":"en_US","og:image":"https://cdn.coollabs.io/assets/coolify/og-image-docs.png","twitter:title":"Coolify Documentation","twitter:description":"Self-hosting with superpowers.","twitter:url":"https://twitter.com/coolifyio","twitter:site":"@coolifyio"},"indexing":"all"},"footer":{"socials":{"twitter":"https://twitter.com/coolifyio","github":"https://github.com/coollabsio/coolify"}},"navigation":{"global":{"anchors":[{"anchor":"Community","href":"https://coolify.io/discord","icon":"discord"},{"anchor":"Sponsorship","href":"https://coolify.io/sponsorship","icon":"heart-pulse"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coollabstechnologiesbt","hasAudioNarration":false,"actualSubdomain":"coollabstechnologiesbt","customDomains":[],"gitSource":{"type":"github","owner":"coollabsio","repo":"documentation-coolify-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"edits":true},"entitlements":{},"buildId":"6ae91f3cdc2215c2063d5878:success","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API","count":73},{"language":"default","tag":"API Reference","count":73},{"language":"default","tag":"Resources","count":58},{"language":"default","tag":"Knowledge Base","count":46},{"language":"default","tag":"Services","count":41},{"language":"default","tag":"Applications","count":29},{"language":"default","tag":"Databases","count":23},{"language":"default","tag":"General","count":12},{"language":"default","tag":"Documentation","count":9},{"language":"default","tag":"Get Started","count":9}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"knowledge-base/git/gitlab/integration","slug":"/knowledge-base/git/gitlab/integration","pageMetadata":{"title":"Integration","description":"A guide on how to use GitLab based repositories with Coolify.","og:title":"How to use Gitlab based Git deployments","href":"/knowledge-base/git/gitlab/integration"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"A guide on how to use GitLab based repositories with Coolify.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`public-repositories`,children:`Public Repositories`}),`\n`,_jsx(_components.p,{children:`You can use public repositories without any additional setup.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Select the `,_jsx(_components.code,{children:`Public repository`}),` option in the Coolify when you create a new resource.`]}),`\n`,_jsxs(_components.li,{children:[`Add your repository URL to the input field, for example: `,_jsx(_components.code,{children:`https://gitlab.com/andrasbacsai/coolify-examples`}),`\n`,_jsx(Tip,{children:`You can only use the https URL.`}),` `]}),`\n`,_jsx(_components.li,{children:`That’s it! Coolify will automatically pull the latest version of your repository and deploy it.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`private-repositories`,children:`Private Repositories`}),`\n`,_jsx(_components.p,{children:`Private repositories require a few more steps to setup.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Add a private key (aka `,_jsx(_components.code,{children:`Deploy Keys`}),`) to Coolify and to your GitLab repository in the `,_jsx(_components.code,{children:`Settings`}),` / `,_jsx(_components.code,{children:`Repository`}),` / `,_jsx(_components.code,{children:`Deploy Keys`}),` menu.`]}),`\n`]}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`You can generate a new key pair with the following command:`}),`\n`]}),_jsx(CodeBlock,{numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ssh-keygen`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -t`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` rsa`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -b`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 4096`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -C`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"deploy_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` `})]}),`\n`]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Or you can also use Coolify to generate a new key for you in the `,_jsx(_components.code,{children:`Keys \u0026 Tokens`}),` menu.`]}),`\n`]})]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsxs(_components.li,{children:[`Create a new resource and select the `,_jsx(_components.code,{children:`Private Repository (with deploy key)`})]}),`\n`,_jsxs(_components.li,{children:[`Add your repository URL to the input field, for example: `,_jsx(_components.code,{children:`git@gitlab.com:andrasbacsai/coolify-examples.git`})]}),`\n`]}),`\n`,_jsxs(Tip,{children:[`You need to use the SSH URL, so the one that starts with `,_jsx(_components.code,{children:`git@`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:`That’s it! Coolify will automatically pull the latest version of your repository and deploy it.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`automatic-commit-deployments-with-webhooks-optional`,children:`Automatic commit deployments with webhooks (Optional)`}),`\n`,_jsx(_components.p,{children:`You can add a custom webhook URL to your GitLab repository to trigger a new deployment when you push to your repository.`}),`\n`,_jsx(Tip,{children:`This can be set on either public or private repositories.`}),`\n`,_jsxs(_components.p,{children:[`In your resource, there is a `,_jsx(_components.code,{children:`Webhooks`}),` menu. In the `,_jsx(_components.code,{children:`Manual Git Webhooks`}),` section, you can find the URL what you need to set in your GitLab repository.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Set a secret key in the `,_jsx(_components.code,{children:`GitLab Webhook Secret`}),` input field.`]}),`\n`,_jsxs(_components.li,{children:[`Go to your repository in GitLab and open the `,_jsx(_components.code,{children:`Settings`}),` / `,_jsx(_components.code,{children:`Webhooks`}),` menu.`]}),`\n`,_jsxs(_components.li,{children:[`Add the URL from Coolify to the `,_jsx(_components.code,{children:`URL`}),` input field and the secret token.`]}),`\n`,_jsxs(_components.li,{children:[`Select the `,_jsx(_components.code,{children:`Push events`}),` option.`]}),`\n`,_jsx(_components.li,{children:`That’s it! Now when you push to your repository, GitLab will send a webhook request to Coolify and it will trigger a new deployment.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`merge-request-deployments-with-webhooks-optional`,children:`Merge request deployments with webhooks (Optional)`}),`\n`,_jsx(_components.p,{children:`You can add a custom webhook URL to your GitLab repository to trigger a new deployment when you create a new merge request.`}),`\n`,_jsx(Tip,{children:`This can be set on either public or private repositories.`}),`\n`,_jsxs(_components.p,{children:[`The process is the same as the previous one, but you need to select the `,_jsx(_components.code,{children:`Merge request events`}),` option in the `,_jsx(_components.code,{children:`Settings`}),` / `,_jsx(_components.code,{children:`Webhooks`}),` menu.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Integration","description":"A guide on how to use GitLab based repositories with Coolify.","og:title":"How to use Gitlab based Git deployments","href":"/knowledge-base/git/gitlab/integration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Public Repositories","slug":"public-repositories","depth":2,"children":[]},{"title":"Private Repositories","slug":"private-repositories","depth":2,"children":[]},{"title":"Automatic commit deployments with webhooks (Optional)","slug":"automatic-commit-deployments-with-webhooks-optional","depth":2,"children":[]},{"title":"Merge request deployments with webhooks (Optional)","slug":"merge-request-deployments-with-webhooks-optional","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"coollabstechnologiesbt","siteName":"Coolify Documentation","title":"How to use Gitlab based Git deployments","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"knowledge-base/git/gitlab/integration.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A guide on how to use GitLab based repositories with Coolify.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Coolify Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/coollabstechnologiesbt/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/coollabstechnologiesbt/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/coollabstechnologiesbt/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/coollabstechnologiesbt/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"How to use Gitlab based Git deployments\">\u003cmeta data-mint-head property=\"og:description\" content=\"Self-hosting with superpowers.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Coolify\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.coollabs.io/assets/coolify/og-image-docs.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Coolify Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Self-hosting with superpowers.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.coollabs.io/assets/coolify/og-image-docs.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/coollabstechnologiesbt/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Coolify Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6B16ED\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"twitter:url\" content=\"https://twitter.com/coolifyio\">\u003clink data-mint-head rel=\"canonical\" href=\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/knowledge-base/git/gitlab/integration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/#organization\",\"name\":\"Coolify Documentation\",\"url\":\"https://coollabstechnologiesbt.mintlify.dev\"},{\"@type\":\"WebSite\",\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs#website\",\"name\":\"Coolify Documentation\",\"url\":\"https://coollabstechnologiesbt.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration#webpage\",\"url\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration\",\"name\":\"Integration\",\"description\":\"A guide on how to use GitLab based repositories with Coolify.\",\"isPartOf\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Git\",\"item\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/github/integration\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integration\",\"item\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration#article\",\"headline\":\"Integration\",\"name\":\"Integration\",\"description\":\"A guide on how to use GitLab based repositories with Coolify.\",\"url\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration\",\"mainEntityOfPage\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs/knowledge-base/git/gitlab/integration#webpage\"},\"image\":\"https://cdn.coollabs.io/assets/coolify/og-image-docs.png\",\"publisher\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://coollabstechnologiesbt.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Coolify Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Coolify Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/knowledge-base/git/gitlab/integration.md","siteName":"Coolify Documentation","nav":{"global":{"anchors":[{"anchor":"Community","href":"https://coolify.io/discord","icon":"discord"},{"anchor":"Sponsorship","href":"https://coolify.io/sponsorship","icon":"heart-pulse"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Knowledge Base","groups":[{"group":"General","pages":[{"title":"FAQ","href":"/knowledge-base/faq"},{"title":"Health checks","href":"/knowledge-base/healthchecks"},{"title":"Domains","href":"/knowledge-base/domains"},{"title":"Monitoring","href":"/knowledge-base/monitoring"},{"title":"Environment Variables","href":"/knowledge-base/environment-variables"},{"title":"Persistent Storage","href":"/knowledge-base/persistent-storage"},{"title":"Database Backups","href":"/knowledge-base/backups"},{"title":"DNS Configuration","href":"/knowledge-base/dns-configuration"},{"title":"Drain Logs","href":"/knowledge-base/drain-logs"},{"title":"Commands","href":"/knowledge-base/commands"},{"title":"Add a service","href":"/knowledge-base/add-a-service"},{"title":"Instance Updates","href":"/knowledge-base/instance-updates"}]},{"group":"Resources","pages":[{"title":"Applications","href":"/knowledge-base/applications"},{"title":"Databases","href":"/knowledge-base/databases"}]},{"group":"How-tos","pages":[{"title":"Load Balancing on Hetzner","href":"/knowledge-base/how-to/hetzner-loadbalancing"}]},{"group":"Administration (Self-hosted)","pages":[{"title":"Delete User","href":"/knowledge-base/self-hosted-admin/delete-user"}]},{"group":"Git","pages":[{"group":"GitHub","pages":[{"title":"Integration","href":"/knowledge-base/git/github/integration"},{"title":"GitHub Actions","description":"A guide on how to use GitHub Actions with Coolify to build and deploy your images.","href":"/knowledge-base/git/github/github-actions"}]},{"group":"Gitlab","pages":[{"title":"Integration","href":"/knowledge-base/git/gitlab/integration"}]},{"group":"Bitbucket","pages":[{"title":"Integration","description":"A guide on how to use Bitbucket based repositories with Coolify.","href":"/knowledge-base/git/bitbucket/integration"}]},{"group":"Gitea","pages":[{"title":"Integration","href":"/knowledge-base/git/gitea/integration"}]}]},{"group":"Server","pages":[{"title":"Introduction","href":"/knowledge-base/server/introduction"},{"title":"Firewall","href":"/knowledge-base/server/firewall"},{"title":"Build Server","href":"/knowledge-base/server/build-server"},{"title":"Multiple Servers","href":"/knowledge-base/server/multiple-servers"},{"title":"OpenSSH","href":"/knowledge-base/server/openssh"},{"title":"Oracle Cloud","href":"/knowledge-base/server/oracle-cloud"},{"title":"Supported Proxy","href":"/knowledge-base/server/proxies"},{"title":"Automated Cleanup","href":"/knowledge-base/server/automated-cleanup"},{"title":"Non-root user","href":"/knowledge-base/server/non-root-user"}]},{"group":"S3","pages":[{"title":"Introduction","href":"/knowledge-base/s3/index"},{"title":"AWS S3","href":"/knowledge-base/s3/aws"},{"title":"Cloudflare R2","href":"/knowledge-base/s3/r2"}]},{"group":"Docker","pages":[{"title":"Docker Swarm","href":"/knowledge-base/docker/swarm"},{"title":"Docker Registry","href":"/knowledge-base/docker/registry"},{"title":"Docker Compose","href":"/knowledge-base/docker/compose"},{"title":"Custom Commands","href":"/knowledge-base/docker/custom-commands"}]},{"group":"Cloudflare","pages":[{"title":"Cloudflare Tunnels","href":"/knowledge-base/cloudflare/tunnels"}]},{"group":"Traefik","pages":[{"title":"Healthcheck","href":"/knowledge-base/traefik/healthcheck"},{"title":"BasicAuth Middleware","href":"/knowledge-base/traefik/basic-auth"},{"title":"Enable Dashboard","href":"/knowledge-base/traefik/dashboard"},{"title":"Dynamic Configurations","href":"/knowledge-base/traefik/dynamic-configurations"},{"title":"Custom SSL Certificates","href":"/knowledge-base/traefik/custom-ssl-certs"},{"title":"Load-balancing","href":"/knowledge-base/traefik/load-balancing"},{"title":"Redirects","href":"/knowledge-base/traefik/redirects"},{"title":"Wildcard SSL Certificates","href":"/knowledge-base/traefik/wildcard-certificates"}]}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources"}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/introduction"}]}]},"basePath":"","title":"How to use Gitlab based Git deployments","deploymentId":"dpl_GdAzCmzmx9W4gre8gBQCspoLrBzA","buildId":"dpl_GdAzCmzmx9W4gre8gBQCspoLrBzA","dynamics":[],"chunks":[]}