{"id":21558740,"url":"https://github.com/medilies/glpi-docker","last_synced_at":"2025-10-10T08:38:05.249Z","repository":{"id":60360935,"uuid":"417846385","full_name":"medilies/glpi-docker","owner":"medilies","description":"Simplify GLPI installation using Docker ","archived":false,"fork":false,"pushed_at":"2022-09-28T13:57:17.000Z","size":37,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T11:49:33.360Z","etag":null,"topics":["apache","docker","docker-compose","glpi","mysql8","php8","phpmyadmin","shell-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/medilies.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-10-16T14:08:20.000Z","updated_at":"2025-04-08T11:35:39.000Z","dependencies_parsed_at":"2022-09-28T14:50:28.191Z","dependency_job_id":null,"html_url":"https://github.com/medilies/glpi-docker","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/medilies/glpi-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Fglpi-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Fglpi-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Fglpi-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Fglpi-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medilies","download_url":"https://codeload.github.com/medilies/glpi-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medilies%2Fglpi-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003276,"owners_count":26083555,"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-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["apache","docker","docker-compose","glpi","mysql8","php8","phpmyadmin","shell-scripts"],"created_at":"2024-11-24T08:15:41.660Z","updated_at":"2025-10-10T08:38:05.201Z","avatar_url":"https://github.com/medilies.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLPI on Docker\n\n\u003cdiv style=\"display:flex;\"\u003e\n    \u003cimg src=\"https://glpi-project.org/wp-content/uploads/2017/03/logo-glpi-bleu-1.png\" alt=\"GLPI Logo\" width=\"75\"/\u003e\n    \u003cimg src=\"https://www.docker.com/sites/default/files/d8/styles/role_icon/public/2019-07/vertical-logo-monochromatic.png?itok=erja9lKc\" alt=\"Docker Logo\" width=\"75\"/\u003e\n    \u003cimg src=\"https://www.mysql.com/common/logos/logo-mysql-170x115.png\" alt=\"MySQL Logo\" width=\"75\"/\u003e\n    \u003cimg src=\"https://www.phpmyadmin.net/static/images/logo.png?067b638aa2a2\" alt=\"PHPMyAdmin Logo\" width=\"75\"/\u003e\n    \u003cimg src=\"http://www.apache.org/logos/res/httpd/default.png\" alt=\"Apache Logo\" width=\"75\"/\u003e\n    \u003cimg src=\"https://i0.wp.com/phpmagazine.net/wp-content/uploads/2020/09/php8.png?w=420\u0026ssl=1\" alt=\"PHP8 Logo\" width=\"75\"/\u003e\n\u003c/div\u003e\n\nGetting GLPI up and running on your system is a breeze now\n\n\n## Get started\n\nNote that we focus on GLPI 9.5.5 and its compatible plugins\n\n1. Datainjection 2.9.0\n2. Mreporting 1.7.3\n3. Addressing 2.9.0\n4. Fusioninventory 3.0\n5. Ocsinventoryng 1.7.3\n6. Print pdf 2.0.0\n7. Shellcommands 3.0.0\n\n### Requirements\n\nMust have docker \u0026 docker-compose on your system!\n\nDownload the latest release from this repo.\n\n### Default installation\n\nLaunch the stack (Assuming that `docker-compose.yml` is within the directory `glpi`)\n\n```shell\ngit clone https://github.com/medilies/glpi-docker\n```\n\n```shell\ncd glpi-docker\n```\n\n```shell\ndocker-compose up\n```\n\nInstall GLPI and our selected plugins\n\n```shell\ndocker container exec -it glpi-docker_web_1 /scripts/full_setup.sh\n```\n\n```shell\ndocker container exec -it glpi-docker_db_1 /scripts/setup.sh\n```\n\nThe previous commands mainly install GLPI with its plugins and Set crontabs to backup DB \u0026 web files daily.\n\n\u003e Now grab your favorite browser and enjoy managing your infrastructure with GLPI 😜\n\n## Backup \u0026 Restoring\n\n### Manual Backups\n\n-   DB backup\n\n    ```shell\n    docker container exec -it glpi-docker_db_1 /scripts/db_backup.sh\n    ```\n\n-   Web files backup\n\n    ```shell\n    docker container exec -it glpi-docker_web_1 /scripts/web_files_backup.sh\n    ```\n#### Where to find the dumped backups\nBackups are dumped into their respective containers `/backups` folder.\n\n**NOTE:** backup folders are mapped to the host system:\n\n-   DB: `glpi-docker/stack_dumps/db_backups:/backups`\n-   WEB: `glpi-docker/stack_dumps/web_files_backups:/backups`\n\n### Manual backups restorations\n\n-   DB restoration\n\n    ```shell\n    docker container exec -it glpi-docker_db_1 /scripts/db_restore.sh\n    ```\n\n-   Web files restoration\n\n    ```shell\n    docker container exec -it glpi-docker_web_1 /scripts/web_files_restore.sh\n    ```\n\nBoth commands will ask you for the backup absolute path in the container (`/backups/\u003ctimestamp\u003e_glpi_db_backup.sql`,\n`/backups/\u003ctimestamp\u003e_glpi_web_backup.tar.gz`).\n\n### Crontab backups\n\nIf you have followed the default installation, backup scripts are set to run every 8 hours (`0 */8 * * *`). That is set within `DB:/scripts/cron_db_backup.sh` `WEB:/scripts/cron_web_files_backer.sh`\n\n## Stack customization\n\n(If you are familiare with Docker)\n\nBefore starting the containers :\n\n-   It is vital for the security of your deployment to edit the sercrets values within `./secrets`\n-   Open `./docker-compose.yml` and edit the the lines where you see the comment `# CHANGE` to suit your environment\n\n## TODO\n\n-   Add interactivity to the shell scripts to select plugins to install and which versions\n-   Integrate OCS\n\n## LICENCE\n\nThe project is under the MIT licence so feel free to fork it and contribute to it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedilies%2Fglpi-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedilies%2Fglpi-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedilies%2Fglpi-docker/lists"}