This commit is contained in:
Administrator 2022-09-04 09:45:51 +03:00
parent 20787161ac
commit 34838afbb3
3 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,6 @@ services:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab.sprinthub.ru'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- 1234:80
volumes:
- /root/gitlab/data:/var/opt/gitlab
- /root/gitlab/logs:/var/log/gitlab

View File

@ -7,6 +7,7 @@ stages:
before_script:
- docker login -u mathwave -p $DOCKERHUB_PASSWORD
- docker network create -d overlay --attachable swarmpit-nginx || true
- docker network create -d overlay --attachable gitlab-nginx || true
build:
stage: build
@ -46,3 +47,4 @@ deploy-prod:
script:
- docker stack deploy -c ./.deploy-swarmpit/deploy-prod.yaml swarmpit
- docker stack deploy -c ./.deploy-infra/deploy-prod.yaml infra
- docker stack deploy -c ./.deploy-gitlab/deploy-prod.yaml gitlab

View File

@ -8,7 +8,7 @@ http {
server_name gitlab.sprinthub.ru;
location / {
proxy_pass http://dev.sprinthub.ru:1234/;
proxy_pass http://gitlab:80/;
}
}