Giter VIP home page Giter VIP logo

Comments (9)

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024
  1. refer to:https://github.com/Websoft9/docker-gitlab/blob/main/docker/docker-compose.yml
  2. you can get a complete docker-compose file by runnig the below one installer script
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/escript.deb.sh | sudo bash
  1. try to get the complete docker-compose file from a permanent URL
  2. database port expose to host
  3. other performance tool, e.g redis...?

from docker-library.

viafcccy avatar viafcccy commented on May 29, 2024

1.about gitlab'stack-components that can help us to learn about gitlab.
https://github.com/Websoft9/ansible-gitlab/blob/main/docs/zh/stack-components.md
2.office gitlab-docker introduce:
https://docs.gitlab.com/omnibus/docker/README.html#install-gitlab-using-docker-compose

from docker-library.

chendelin1982 avatar chendelin1982 commented on May 29, 2024

精准需求结论参考:Notes.md,compose文件已测试可用,一致性和其他方面优化需后续流程改进

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

external_url is required items of env?Gitlab can running when external_url is null, but is there have other problem, you should test it

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

gitlab.yml


# This file is managed by gitlab-ctl. Manual changes will be
# erased! To change the contents below, edit /etc/gitlab/gitlab.rb
# and run `sudo gitlab-ctl reconfigure`.

production: &base
  #
  # 1. GitLab app settings
  # ==========================

  ## GitLab settings
  gitlab:
    ## Web server settings (note: host is the FQDN, do not include http://)
    host: gitlab.example.com
    port: 80
    https: false

    # The maximum time unicorn/puma can spend on the request. This needs to be smaller than the worker timeout.
    # Default is 95% of the worker timeout
    max_request_duration_seconds: 57

    # Uncommment this line below if your ssh host is different from HTTP/HTTPS one
    # (you'd obviously need to replace ssh.host_example.com with your own host).
    # Otherwise, ssh host will be set to the `host:` value above
    ssh_host:

    # If your ssh user differs from the system user, you need to specify it here
    # Set it to an empty string to omit the username from any ssh url altogether
    ssh_user:

    # WARNING: See config/application.rb under "Relative url support" for the list of
    # other files that need to be changed for relative url support
    relative_url_root:

    # Trusted Proxies
    # Customize if you have GitLab behind a reverse proxy which is running on a different machine.
    # Add the IP address for your reverse proxy to the list, otherwise users will appear signed in from that address.
    trusted_proxies:

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

image

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

将gitlab.yml host改成IP地址,即可git clone成功

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

init password? refer to gitlab configuration file

#### Change the initial default admin password and shared runner registration tokens.
####! **Only applicable on initial setup, changing these settings after database
####!   is created and seeded won't yield any change.**
# gitlab_rails['initial_root_password'] = "password"
# gitlab_rails['initial_shared_runners_registration_token'] = "token"

from docker-library.

qiaofeng1227 avatar qiaofeng1227 commented on May 29, 2024

[root@iZbp1g7srzyyzu8qfaomzxZ docker-jenkins]# git clone http://119.28.5.240/root/test.git
Cloning into 'test'...
fatal: repository 'http://119.28.5.240/root/test.git/' not found
[root@iZbp1g7srzyyzu8qfaomzxZ docker-jenkins]# git clone http://119.28.5.240:9001/root/test.git
Cloning into 'test'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.

from docker-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.