gitlab
This commit is contained in:
25
.deploy-gitlab/deploy-prod.yaml
Normal file
25
.deploy-gitlab/deploy-prod.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ee:15.2.2-ee.0
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
external_url 'http://gitlab.sprinthub.ru'
|
||||
# Add any other gitlab.rb configuration here, each on its own line
|
||||
volumes:
|
||||
- /root/gitlab/data:/var/opt/gitlab
|
||||
- /root/gitlab/logs:/var/log/gitlab
|
||||
- /root/gitlab/config:/etc/gitlab
|
||||
networks:
|
||||
- default
|
||||
- gitlab-nginx
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
networks:
|
||||
default:
|
||||
driver: overlay
|
||||
gitlab-nginx:
|
||||
external: true
|
Reference in New Issue
Block a user