{"id":21919831,"url":"https://github.com/kernelci/kernelci-docker","last_synced_at":"2025-07-21T20:31:07.383Z","repository":{"id":11562212,"uuid":"70045733","full_name":"kernelci/kernelci-docker","owner":"kernelci","description":"Docker containers configurations for KernelCI","archived":true,"fork":false,"pushed_at":"2022-03-17T16:16:46.000Z","size":1973,"stargazers_count":9,"open_issues_count":12,"forks_count":24,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T08:02:09.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kernelci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-05T09:18:27.000Z","updated_at":"2025-02-25T11:47:36.000Z","dependencies_parsed_at":"2022-08-07T06:16:25.373Z","dependency_job_id":null,"html_url":"https://github.com/kernelci/kernelci-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kernelci/kernelci-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelci%2Fkernelci-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelci%2Fkernelci-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelci%2Fkernelci-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelci%2Fkernelci-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kernelci","download_url":"https://codeload.github.com/kernelci/kernelci-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelci%2Fkernelci-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266375043,"owners_count":23919509,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-28T20:11:16.772Z","updated_at":"2025-07-21T20:31:06.419Z","avatar_url":"https://github.com/kernelci.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"KernelCI Docker\n===============\n\n## Purpose\n\nThis repository eases the installation process of KernelCI through the usage of Docker containers.\n\nIt uses Docker Compose file to decribe the services of the whole application:\n\n* reverse-proxy\n* frontend\n* backend\n* celery task queue\n* redis\n* mongo\n\n## Using Docker for development\n\nYou can use kernelci-docker to run local / development versions of KernelCI. This allows you to do changes within the code and get the result instantly in the running docker instances. The source code of kernelci frontend and backend is included in this repo as submodules.\n\n### Initialize the submodules\n\nTo get the code locally run the following commands:\n```\ngit submodule init\ngit submodule update\n```\n\nOnce finished, the code of kernelci frontend and backend are available in `frontend/kernelci-frontend` and `backend/kernelci-backend` respectively.\n\nYou can start doing changes locally, apply patches, or add your own git remote to fetch your changes.\n\n### Run Docker-compose\n\nYou can run the application (backend \u0026 frontend) with Docker Compose. Behind the hood, it will use the docker-compose.yml file which defines some additional options to mount the frontend's and backend's source code so changes done in your local IDE will be taken into account directly in the running application (through nodemon).\n\nSome wrapper scripts were developed to perform the actions needed:\n\nStart the application with the following command:\n\n```\n$ ./dev-start.sh\n```\n\nOnce the application is running, the frontend and backend source code can be modified directly from your favorite IDE. Each changes will be taken into account automatically within the running containers and the main process will be reloaded.\n\nYou can build new images with the following command:\n\n```\n$ docker-compose build SERVICE_NAME\n```\n\n---\n\nThe application can then be stopped\n\n```\n$ ./dev-stop.sh\n```\n\n## Status\n\nThis is a work in progress [WIP], currently not fully functional.\n\nSeveral features need to be added:\n- to be aligned with the official KernelCI\n- to improve and simplify the deployment and architecture of the whole application\n\nAmong the ongoing changes:\n\n- [x] Automate the setup (create token from master key, provide token to frontend)\n- [ ] Add some tests\n- [ ] Check storage part\n- [x] Add api documentation\n- [x] Add elasticsearch and modify backend so log files are sent to ES\n- [x] Configure reverse proxy (routing with subdomains, TLS termination, ...)\n- [ ] Add front and back networks to isolate the services\n- [x] Add stack file to deploy the application on a Swarm\n- [ ] Usage of env variable or Docker secret to provide the backend token\n- [ ] Handle tagging of the application and of its components\n- [ ] Add memory constraints\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelci%2Fkernelci-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernelci%2Fkernelci-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelci%2Fkernelci-docker/lists"}