User Tools

Site Tools


инструмент_gitlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
инструмент_gitlab [2024/02/22 08:48]
val [Установка в виде контейнера]
инструмент_gitlab [2024/03/12 16:25]
val [Регистрация]
Line 57: Line 57:
   web:   web:
     image: '​gitlab/​gitlab-ce:​latest'​     image: '​gitlab/​gitlab-ce:​latest'​
-    ​#image: '​gitlab/​gitlab-ce:​16.7.4-ce.0'​+   image: '​gitlab/​gitlab-ce:​16.7.4-ce.0'​
     restart: always     restart: always
     hostname: '​server.corpX.un'​     hostname: '​server.corpX.un'​
Line 63: Line 63:
       GITLAB_ROOT_PASSWORD:​ "​strongpassword"​       GITLAB_ROOT_PASSWORD:​ "​strongpassword"​
       GITLAB_OMNIBUS_CONFIG:​ |       GITLAB_OMNIBUS_CONFIG:​ |
 +        prometheus_monitoring['​enable'​] = false
 +        gitlab_rails['​registry_enabled'​] = true
 +        gitlab_rails['​registry_host'​] = "​server.corpX.un"​
         external_url '​http://​server.corpX.un'​         external_url '​http://​server.corpX.un'​
-#        gitlab_rails['​initial_root_password'​] = '​strongpassword'​ +        ​registry_external_url '​http://​server.corpX.un'​ 
-#        ​registry_external_url '​http://​server.corpX.un'​ +        gitlab_rails['​registry_port'​] = "​5000"​ 
-#        gitlab_rails['​registry_enabled'​] = true +        registry['​registry_http_addr'​] = "​server.corpX.un:​5000"​ 
-#        gitlab_rails['​registry_host'​] = "​server.corpX.un"​ +#        external_url '​https://​server.corpX.un
-       ​gitlab_rails['​registry_port'​] = "​5000"​ +#        registry_external_url '​https://​server.corpX.un:5000'​ 
-       ​registry['​registry_http_addr'​] = "​server.corpX.un:​5000"​ +#        gitlab_rails['​registry_port'​] = "5050
-#        prometheus_monitoring['​enable'​] = false +#        registry['registry_http_addr'​] = "​server.corpX.un:​5050"​
-#        external_url '​https://​gitlab.bmstu.ru:8443+
-#        registry_external_url '​https://​gitlab.bmstu.ru:5050'+
     ports:     ports:
       - '​80:​80'​       - '​80:​80'​
-#      - '8443:8443'+#      - '443:443'
       - '​2222:​22'​       - '​2222:​22'​
       - '​5000:​5000'​       - '​5000:​5000'​
-#      - '​5050:​5050'​ 
     volumes:     volumes:
       - '/​etc/​gitlab:/​etc/​gitlab'​       - '/​etc/​gitlab:/​etc/​gitlab'​
Line 302: Line 302:
  
 <​code>​ <​code>​
-# gitlab-runner register -n --executor "​shell"​ -u http://​server.corp13.un -r "​NNNNNNNNNNNNNNNNNNNNNNNNNNNN"​+# gitlab-runner register -n --executor "​shell"​ -u http://​server.corpX.un -r "​NNNNNNNNNNNNNNNNNNNNNNNNNNNN"​
 </​code>​ </​code>​
  
инструмент_gitlab.txt · Last modified: 2024/04/16 08:16 by val