{"id":26208114,"url":"https://github.com/cslant/gitlab","last_synced_at":"2026-04-17T19:31:24.277Z","repository":{"id":281804363,"uuid":"941810445","full_name":"cslant/gitlab","owner":"cslant","description":"Build gitlab CE - Selfhost with docker compose","archived":false,"fork":false,"pushed_at":"2025-06-25T15:37:24.000Z","size":298,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T16:47:19.352Z","etag":null,"topics":["cslant","gitlab","gitlab-docker","gitlab-selfhosted"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cslant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["tanhongit"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2025-03-03T04:55:49.000Z","updated_at":"2025-06-25T15:37:28.000Z","dependencies_parsed_at":"2025-06-25T16:44:47.996Z","dependency_job_id":null,"html_url":"https://github.com/cslant/gitlab","commit_stats":null,"previous_names":["cslant/gitlab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cslant/gitlab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fgitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fgitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fgitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fgitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cslant","download_url":"https://codeload.github.com/cslant/gitlab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fgitlab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31943189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cslant","gitlab","gitlab-docker","gitlab-selfhosted"],"created_at":"2025-03-12T06:12:38.329Z","updated_at":"2026-04-17T19:31:24.251Z","avatar_url":"https://github.com/cslant.png","language":"Ruby","funding_links":["https://github.com/sponsors/tanhongit"],"categories":[],"sub_categories":[],"readme":"# CSlant gitlab project\n\nThis project is simple to set up a gitlab server with docker-compose.\n\n## How to use\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/cslant/gitlab.git\n```\n\n2. Change to the repository directory\n\n```bash\ncd gitlab\n```\n\n3. Create the environment file\n\n```bash\ncp .env.example .env\n```\n\n4. Edit the environment file\n\n```bash\nnano .env\n```\n\n5. Start the gitlab server\n\n```bash\ndocker-compose up -d\n```\n\n6. Setup reverse proxy\n\nYou can use the following nginx configuration to set up a reverse proxy for the gitlab server.\n\n```nginx\nserver_tokens off;\nroot /another/path;\n\nadd_header Strict-Transport-Security \"max-age=63072000\" always;\nadd_header X-Frame-Options \"SAMEORIGIN\";\nadd_header X-XSS-Protection \"1; mode=block\";\nadd_header X-Content-Type-Options \"nosniff\";\n\nindex index.html index.php;\n\ncharset utf-8;\n\nclient_max_body_size 1024m;\n\nlocation / {\n    proxy_http_version 1.1;\n    proxy_set_header Upgrade $http_upgrade;\n    proxy_set_header Connection 'upgrade';\n    proxy_cache_bypass $http_upgrade;\n    # # proxy_read_timeout 86400s;\n    # # proxy_send_timeout 86400s;\n    proxy_set_header Host $host;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_pass http://127.0.0.1:802;\n    proxy_read_timeout 300;\n    proxy_connect_timeout 300;\n    proxy_redirect off;\n    \n    proxy_set_header X-Forwarded-Proto https;\n    proxy_set_header X-Frame-Options SAMEORIGIN;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header X-Forwarded-Ssl on;\n}\n\nlocation = /favicon.ico { access_log off; log_not_found off; }\nlocation = /robots.txt  { access_log off; log_not_found off; }\n\naccess_log off;\nerror_log  /var/log/nginx/gitlab.mydomain.io-error.log error;\n\nerror_page 404 /index.php;\n\nlocation ~ \\.php$ {\n    try_files $uri $uri/ =404;\n    fastcgi_split_path_info ^(.+\\.php)(/.+)$;\n    fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;\n    fastcgi_index index.php;\n    include fastcgi_params;\n}\n\n# Deny files starting with a . (dot) except .well-known\nlocation ~ /\\.(?!well-known).* {\n    deny all;\n}\n```\n\n7. Access the gitlab server\n\nOpen your browser and go to `https://gitlab.mydomain.io`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fgitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcslant%2Fgitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fgitlab/lists"}