{"id":21612268,"url":"https://github.com/anapsix/gitlabci-docker","last_synced_at":"2025-04-11T05:36:29.305Z","repository":{"id":11936571,"uuid":"14505914","full_name":"anapsix/gitlabci-docker","owner":"anapsix","description":"GitLab-CI Docker","archived":false,"fork":false,"pushed_at":"2015-01-19T17:33:41.000Z","size":385,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T00:38:28.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anapsix.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-18T21:34:02.000Z","updated_at":"2024-05-02T00:38:28.347Z","dependencies_parsed_at":"2022-09-01T14:41:51.745Z","dependency_job_id":null,"html_url":"https://github.com/anapsix/gitlabci-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fgitlabci-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fgitlabci-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fgitlabci-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anapsix%2Fgitlabci-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anapsix","download_url":"https://codeload.github.com/anapsix/gitlabci-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226233500,"owners_count":17592897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-24T21:17:40.770Z","updated_at":"2024-11-24T21:17:41.262Z","avatar_url":"https://github.com/anapsix.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## gitlabci-docker\n\nThis repository is all you need to create your own [Docker](http://docker.io) image of [Gitlab-CI](http://gitlab.org/gitlab-ci/) continuios integration server.\nYou can find a pre-build image [anapsix/gitlab-ci at Docker INDEX](https://registry.hub.docker.com/u/anapsix/gitlab-ci)\nWorks with Docker 1.0.\n\n\n### Versions\n\nKeep in mind, that \"latest\" tag and \"master\" branch are subject to be updated, hence the names.  \nFor older versions, use source repo specific branches (gitlabci_v3.2/gitlabci_v4.1) or proper image tags.\n\n\n### Versions\n\nKeep in mind, that \"latest\" tag and \"master\" branch are subject to be updated, hence the names.  \nFor older versions, use source repo specific branches (gitlabci_v3.2/gitlabci_v4.1) or proper image tags.\n\n\n### Usage\n\n\nIf you want to run my pre-build image, just run the following (possibly as sudo):\n\n    docker pull anapsix/gitlab-ci\n    docker run -d -p 9000 -e GITLAB_URLS=\"https://dev.gitlab.org,https://staging.gitlab.org\" anapsix/gitlab-ci:5.0\n\nYou can rebuild the image from scratch with:\n\n    docker build -no-cache -t anapsix/gitlab-ci github.com/anapsix/gitlabci-docker\n\nYou must set GITLAB_URLS environmental variable to contain comma delimited list of your GITLAB URLS, otherwise it will refuse to start.\n\n\n#### Persistent external MySQL DB is now supported!\n\nYou can now use external persistent MySQL DB for your GitLab-CI container.\nLaunch the instance like so:\n\n    docker run -d \\\n     -e DEBUG=true \\\n     -e MYSQL_SETUP=true \\\n     -e MYSQL_HOST=10.0.0.100 \\\n     -e MYSQL_USER=\"gitlabci\" \\\n     -e MYSQL_PWD=\"gitlabci\" \\\n     -e MYSQL_DB=\"gitlabci\" \\\n     -e GITLAB_URLS=\"https://dev.gitlab.org/\" \\\n     -p 9000 anapsix/gitlab-ci\n\n **WARNING**: every time you pass *MYSQL_SETUP=true*, it will overwrite an existing MySQL database..\n\n - You should set MYSQL_SETUP=true only first time you start container if there is no existing DB for specified credentials / host / db name, otherwise, you **WILL LOSE** DB content and all settings. Could be used to jump between incompatible versions, such as 4.x -\u003e  5.x, while overwriting existing DB.\n\n\n### ENV params\n - `DEBUG` (optional: \"true\" enables debug messages during container startup)\n - `GITLAB_URLS` (required: set it to full URL of your GitLAB SCM installation)\n - `GITLAB_CI_HOST` (optional: probably helpful when using HTTPS)\n - `GITLAB_CI_HTTPS` (optional: used to enable HTTPS support)\n - `MYSQL_SETUP` (optional: use with caution: initializes DB, wipes it if already present, helpful when upgrading between incompatible versions)\n - `MYSQL_MIGRATE` (optional: use it when upgrading between GitLAB-CI versions, doesn't work between 4.x and 5.x)\n - `MYSQL_HOST` (required for MySQL support, if not set temp SQLite3 will be used)\n - `MYSQL_USER` (optional, will default to gitlabci if not set)\n - `MYSQL_PWD` (optional, will default to gitlabci if not set)\n - `MYSQL_DB` (optional, will default to gitlabci if not set)\n\n### Examples\n\n - **MYSQL**: only *MYSQL_HOST* variable is required\n       *MYSQL_USER*, *MYSQL_PWD* and *MYSQL_DB* will all default to \"gitlabci\"\n\n        docker run -d -e MYSQL_HOST=10.0.0.100 \\\n         -e GITLAB_URLS=\"https://dev.gitlab.org/\" \\\n         -p 9000 anapsix/gitlab-ci\n\n\n - **SQLITE3**: to use container-internal ephemeral SQLite3 DB, ommit all *MYSQL_\\** variables\n\n        docker run -d -e GITLAB_URLS=\"https://dev.gitlab.org/\" \\\n         -p 9000 anapsix/gitlab-ci\n\n\n### Contributors\n\n* Anastas Dancha \u003canapsix@random.io\u003e\n* TruongSinh Tran-Nguyen \u003ci@truongsinh.pro\u003e\n\n### License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanapsix%2Fgitlabci-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanapsix%2Fgitlabci-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanapsix%2Fgitlabci-docker/lists"}