fix
This commit is contained in:
parent
7bee6168da
commit
43228b8cc4
@ -4,17 +4,18 @@ services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ee:15.2.2-ee.0
|
||||
volumes:
|
||||
- /root/gitlab/data:/var/opt/gitlab
|
||||
- /root/gitlab/logs:/var/log/gitlab
|
||||
- /root/gitlab/config:/etc/gitlab
|
||||
- /root/gitlab/data:/var/opt/gitlab
|
||||
- /root/gitlab/logs:/var/log/gitlab
|
||||
- /root/gitlab/config:/etc/gitlab
|
||||
networks:
|
||||
- default
|
||||
- gitlab-nginx
|
||||
- default
|
||||
- gitlab-nginx
|
||||
hostname: 'gitlab.sprinthub.ru'
|
||||
shm_size: '256m'
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
- node.role == manager
|
||||
networks:
|
||||
default:
|
||||
driver: overlay
|
||||
|
@ -8,7 +8,7 @@ http {
|
||||
server_name gitlab.sprinthub.ru;
|
||||
|
||||
location / {
|
||||
proxy_pass http://gitlab:80/;
|
||||
proxy_pass http://gitlab.sprinthub.ru:80/;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user