当前位置: 首页 > news >正文

Ubuntu源码安装gitlab13.7集群多前端《二》

Ubuntu源码安装gitlab13.7《一》

gitaly需要调整的服务

  1. redis socket->ip
    bind ....* # 0.0.0.0
    
  2. pg vim /etc/postgresql/14/main/pg_hba.conf
    host    all             all             ..../32         md5
    
  3. gitaly vim /home/git/gitaly/config.toml
    bin_dir = "/home/git/gitaly"
    internal_socket_dir = "/home/git/gitaly/internal_sockets"
    socket_path = "/home/git/gitlab/tmp/sockets/private/gitaly.socket"listen_addr = '0.0.0.0:8075'
    # Optional: export metrics via Prometheus
    # prometheus_listen_addr = "0.0.0.0:9236"
    #[prometheus]
    #grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
    #[logging]
    #level = "warn"
    #[auth]
    #token = '******'[gitaly-ruby]
    dir = "/home/git/gitaly/ruby"
    [gitlab]
    url = "http://****.com"
    [gitlab-shell]
    dir = "/home/git/gitlab-shell"
    [logging]
    dir = "/home/git/gitlab/log"
    [[storage]]
    name = "default"
    path = "/home/git/repositories"
    

gitlab需要调整的服务

  1. gitlab gitlab.yml database.yml resque.yml
      # Gitaly settingsgitaly:# Path to the directory containing Gitaly client executables.client_path: /home/git/gitaly# Default Gitaly authentication token. Can be overridden per storage. Can# be left blank when Gitaly is running locally on a Unix socket, which# is the normal way to deploy Gitaly.token: '******' #gitaly 配置的token## 4. Advanced settings# ==========================## Repositories settingsrepositories:# Paths where repositories can be stored. Give the canonicalized absolute pathname.# IMPORTANT: None of the path components may be symlink, because# gitlab-shell invokes Dir.pwd inside the repository path and that results# real path not the symlink.storages: # You must have at least a `default` storage path.default:path: /home/git/repositories/gitaly_address: tcp://*.*.*.*:8075#gitaly_address: unix:/home/git/gitlab/tmp/sockets/private/gitaly.socket # TCP connections are supported too (e.g. tcp://host:port). TLS connections are also supported using the system certificate pool (eg: tls://host:port).# gitaly_token: 'special token' # Optional: override global gitaly.token for this storage.
    
    url: redis://*.*.*.*:6379
    #url: unix:/var/run/redis/redis.sock
    
  2. gitlab obs https://gitlab.cn/docs/16.8/charts/installation/migration/minio.html
    uploads:enabled: trueobject_store:enabled: trueremote_directory: gitlab-uploadsproxy_download: trueconnection:provider: AWSregion: <S3 region>aws_access_key_id: "<access key>"aws_secret_access_key: "<secret access key>"host: <Minio host>endpoint: <Minio endpoint>path_style: true
    
  3. 依赖的服务 gitlab-shell && gitlab-workhorse
http://www.lryc.cn/news/494558.html

相关文章:

  • 身份证OCR 识别 API 接口的发展前景
  • Spring boot之BeanDefinition介绍
  • 30分钟学会正则表达式
  • Python 自动化办公的 10 大脚本
  • Python蒙特卡罗MCMC:优化Metropolis-Hastings采样策略Fisher矩阵计算参数推断应用—模拟与真实数据...
  • 成绩排序
  • MySQL底层概述—7.优化原则及慢查询
  • R““有什么作用在C++中,举例说明
  • linux中top 命令返回数据解释
  • 深入理解二叉树及其变体:平衡二叉树、红黑树、B-树和B+树
  • C++ 编程技巧之StrongType(1)
  • 芯片测试-smith圆图
  • HTML技术深度解析:构建现代网页的基石
  • Leecode刷题C语言之判断是否可以赢得数字游戏
  • Ubuntu 关机命令
  • 数据采集中,除了IP池的IP被封,还有哪些常见问题?
  • 【Anaconda】 创建环境报错:CondaHTTPError: HTTP 000 CONNECTION FAILED for url
  • 社交电商破局之“2+1 链动模式 O2O 商城小程序源码”赋能流量困境突围
  • 【ArcGIS Pro微课1000例】0062:ArcGIS Pro3.3.1中文版安装教程(附安装包下载)
  • Linux - web服务器
  • 设计模式-适配器模式-注册器模式
  • 减速机润滑油更换的最佳周期是多久?
  • 程序执行堆栈执行模拟
  • 《Python基础》之数据加密模块hashlib的用法
  • 安装Fcitx5输入框架和输入法自动部署脚本(来自Mark24)-Ubuntu通用
  • 【IMF靶场渗透】
  • Zookeeper选举算法与提案处理概览
  • 深入了解 Adam 优化器对显存的需求:以 LLaMA-2 7B 模型为例 (中英双语)
  • 数据分析学习
  • PaddleOCR:一款高性能的OCR工具介绍