You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/knowledge-base/git/gitlab/integration.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ description: "Connect GitLab repositories to Coolify with deploy keys, Gitlab co
4
4
---
5
5
6
6
# GitLab Integration
7
+
7
8
## Public Repositories
8
9
9
10
You can use public repositories without any additional setup.
@@ -24,14 +25,15 @@ Private repositories require a few more steps to setup.
24
25
1. Add a private key (aka `Deploy Keys`) to Coolify and to your GitLab repository in the `Settings` / `Repository` / `Deploy Keys` menu.
25
26
26
27
::: warning Caution
27
-
- You can generate a new key pair with the following command:
28
-
29
-
```bash
30
-
ssh-keygen -t rsa -b 4096 -C "deploy_key"
31
-
```
32
28
33
-
- Or you can also use Coolify to generate a new key for you in the `Keys & Tokens` menu.
34
-
:::
29
+
- You can generate a new key pair with the following command:
30
+
31
+
```bash
32
+
ssh-keygen -t rsa -b 4096 -C "deploy_key"
33
+
```
34
+
35
+
- Or you can also use Coolify to generate a new key for you in the `Keys & Tokens` menu.
36
+
:::
35
37
36
38
2. Create a new resource and select the `Private Repository (with deploy key)`
37
39
3. Add your repository URL to the input field, for example: `[email protected]:andrasbacsai/coolify-examples.git`
@@ -57,15 +59,16 @@ Private container registry require a few more steps to setup.
57
59
58
60
1. Add a `Deploy Token` in your GitLab repository in the `Settings` / `Repository` / `Deploy Token` with scope `read_registry`. This step will generate credentials `username` and `token`
59
61
2. login docker with that credentials in your coolify server
0 commit comments