added gitlab server docker compose file
This commit is contained in:
parent
8869d592a3
commit
3ba9a62821
1 changed files with 15 additions and 0 deletions
15
gitlab/gitlab-server-docker-compose.yaml
Normal file
15
gitlab/gitlab-server-docker-compose.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
web:
|
||||||
|
image: 'gitlab/gitlab-ce:14.0.12-ee.0'
|
||||||
|
restart: always
|
||||||
|
hostname: gitlab
|
||||||
|
environment:
|
||||||
|
GITLAB_OMNIBUS_CONFIG: |
|
||||||
|
gitlab_rails['gitlab_shell_ssh_port'] = 42072
|
||||||
|
ports:
|
||||||
|
- '42070:80'
|
||||||
|
- '42071:443'
|
||||||
|
- '42072:22'
|
||||||
|
volumes:
|
||||||
|
- '/home/pablo/gitlab/config:/etc/gitlab'
|
||||||
|
- '/home/pablo/gitlab/logs:/var/log/gitlab'
|
||||||
|
- '/home/pablo/gitlab/data:/var/opt/gitlab'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue