| ... | ... | @@ -72,6 +72,7 @@ sudo nano docker-compose.yml |
|
|
|
```
|
|
|
|
2. Insert to file (remember to edit extrenal_url!):
|
|
|
|
```
|
|
|
|
|
|
|
|
web:
|
|
|
|
image: 'gitlab/gitlab-ce:latest'
|
|
|
|
restart: always
|
| ... | ... | @@ -88,6 +89,7 @@ web: |
|
|
|
- '/srv/gitlab/config:/etc/gitlab'
|
|
|
|
- '/srv/gitlab/logs:/var/log/gitlab'
|
|
|
|
- '/srv/gitlab/data:/var/opt/gitlab'
|
|
|
|
|
|
|
|
```
|
|
|
|
3. To start GitLab run the following command in same folder where docker-compose.yml is:
|
|
|
|
```
|
| ... | ... | |
| ... | ... | |