{"id":19884666,"url":"https://github.com/d3p1/dockgento","last_synced_at":"2026-04-17T02:04:40.517Z","repository":{"id":255250905,"uuid":"848373584","full_name":"d3p1/dockgento","owner":"d3p1","description":"A Docker environment generator for Magento 2","archived":false,"fork":false,"pushed_at":"2025-02-27T17:13:27.000Z","size":383,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T00:37:38.329Z","etag":null,"topics":["devops-tools","docker","docker-compose","docker-magento","magento","magento-2","magento2"],"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/d3p1.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-08-27T16:36:10.000Z","updated_at":"2025-02-27T17:13:30.000Z","dependencies_parsed_at":"2024-09-15T05:15:17.197Z","dependency_job_id":"8f60c43c-405d-4b31-8599-a1cf947bd4bd","html_url":"https://github.com/d3p1/dockgento","commit_stats":null,"previous_names":["d3p1/dockgento"],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Fdockgento","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Fdockgento/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Fdockgento/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d3p1%2Fdockgento/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d3p1","download_url":"https://codeload.github.com/d3p1/dockgento/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241313188,"owners_count":19942416,"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":["devops-tools","docker","docker-compose","docker-magento","magento","magento-2","magento2"],"created_at":"2024-11-12T17:28:51.565Z","updated_at":"2026-04-17T02:04:40.504Z","avatar_url":"https://github.com/d3p1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n\n# [DOCKGENTO]\n\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n[![Release](https://github.com/d3p1/dockgento/actions/workflows/release.yml/badge.svg)](https://github.com/d3p1/dockgento/actions/workflows/release.yml)\n\n\u003c/div\u003e\n\n## Introduction\n\nJust another [Docker](https://www.docker.com/) environment generator for [Magento](https://business.adobe.com/products/magento/open-source.html).\n\nThe main idea behind this tool is to have an automatic way to generate [Magento](https://business.adobe.com/products/magento/open-source.html) environments for development, but also for production. To support this, [Traefik](https://doc.traefik.io/traefik/) has been included to the tech stack, enabling SSL termination and simplifying the generation of SSL certificates for live sites.\n\n## Prerequisites\n\nBefore using this tool, ensure that you have:\n\n- User with `sudo` privileges. Learn more about why this is necessary [here](https://github.com/d3p1/dockgento/wiki/%5B5%5D-Command-script).\n\n- [Git](https://git-scm.com/) installed on your system.\n\n## Installation\n\nTo install this tool, run the following command:\n\n```shell\ngit clone https://github.com/d3p1/dockgento.git \u0026\u0026 \\\nchmod +x dockgento/src/bin/setup/installer.sh   \u0026\u0026 \\\n./dockgento/src/bin/setup/installer.sh          \u0026\u0026 \\\nsource ~/.bash_profile                          \u0026\u0026 \\\nrm -rf dockgento/\n```\n\n## Usage\n\nUsing this tool is straightforward:\n\n1. Create a [`.dockgento_profile` file](https://github.com/d3p1/dockgento/blob/main/src/bin/etc/.dockgento_profile.sample). This file lets you configure environment variables that define how the project environment should be generated.\n\n2. Execute `dockgento init` to generate the necessary [Docker Compose](https://docs.docker.com/compose/) files for the project.\n\n3. Execute `dockgento mage-install` if you want to install a new Magento platform to work with the current generated environment. \n\n4. Execute `dockgento mage-configure` to configure the Magento project to work with the current environment. This will execute a final setup so the existing Magento project is ready to work with the generated environment.\n\n5. Execute `dockgento ide-configure` to simplify the configuration of your IDE, allowing you to work with this generated environment efficiently and effectively.\n\n6. Finally, execute `dockgento up` to start the generated environment. \n\n\u003e [!NOTE]\n\u003e A recommended release approach could be:\n\u003e 1. In your local/CI environment, pull latest code from the repository.\n\u003e 2. Build the `web` image.\n\u003e 3. Push `web` image to the registry.\n\u003e 4. In your production environment, execute `dockgento up`. \n\n\u003e [!NOTE]\n\u003e When starting the production environment, because the [`pull_policy` is set to `always` for the `web` service](https://github.com/d3p1/dockgento/blob/main/src/bin/etc/docker-compose.prod.yml#L28), the latest image will be pulled and used.\n\n\u003e [!NOTE]\n\u003e Please note that the [platform image does not exclude `\u003cdoc-root\u003e/app/etc/env.php`](https://docs.docker.com/build/concepts/context/#dockerignore-files). Therefore, you should avoid storing sensitive information in this file for public images. In addition to storing them in the database, you can also [use environment variables to manage sensitive data securely](https://experienceleague.adobe.com/en/docs/commerce-operations/configuration-guide/paths/override-config-settings).\n\n\u003e [!NOTE]\n\u003e If you use [GitHub Actions](https://github.com/features/actions) to automate your development and delivery workflow, you can use the [`d3p1/semantic-releasify` action](https://github.com/d3p1/semantic-releasify/) to publish the `web` image on every release.\n\n\u003e [!IMPORTANT]\n\u003e The source code of the project must live in a child directory of the directory where the `dockgento init` is executed. This is because Docker only can access build context from the directory where the `docker-compose.yml` file is located, and the production image must copy the app source code to then build it and start the app.   \n\u003e Additioanlly, the `dockgento ide-configure` for [PhpStorm](https://www.jetbrains.com/phpstorm/) considers that the source code lives in a child directory to configure the startup scripts ([`Dev`](https://github.com/d3p1/dockgento/blob/2be6649c49fa3eb4321ac657906cc78b396013a0/src/bin/etc/.idea/runConfigurations/Dev.xml#L8) and [`Cache`](https://github.com/d3p1/dockgento/blob/2be6649c49fa3eb4321ac657906cc78b396013a0/src/bin/etc/.idea/runConfigurations/Cache.xml#L8)).\n\n\u003e [!IMPORTANT]\n\u003e For now, `dockgento ide-configure` only installs [startup scripts](https://www.jetbrains.com/help/phpstorm/settings-tools-startup-tasks.html) that are very useful for [PhpStorm](https://www.jetbrains.com/phpstorm/). However, automating the configuration of other important aspects and supporting additional IDEs is still pending. [This ticket](https://github.com/d3p1/dockgento/issues/10) and [this ticket](https://github.com/d3p1/dockgento/issues/17) will handle the completion of this requirement.\n\n\u003e [!NOTE]\n\u003e To gain a deeper understanding of how this tool works under the hood, visit the [wiki page](https://github.com/d3p1/dockgento/wiki).\n\n\u003e [!NOTE]\n\u003e If you encounter issues while using this tool, refer to the [troubleshooting page](https://github.com/d3p1/dockgento/wiki/%5B8%5D-Troubleshooting) for guidance.\n\n\u003e [!IMPORTANT]\n\u003e Please note that [as of now](https://github.com/d3p1/dockgento/issues/8), this tool has only been tested on `Debian 12` and requires an environment with `bash` to function correctly.\n\n## Changelog\n\nDetailed changes for each release are documented in [`CHANGELOG.md`](./CHANGELOG.md).\n\n## License\n\nThis work is published under [MIT License](./LICENSE).\n\n## Author\n\nAlways happy to receive a greeting on:\n\n- [LinkedIn](https://www.linkedin.com/in/cristian-marcelo-de-picciotto/) \n- [Web](https://d3p1.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3p1%2Fdockgento","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3p1%2Fdockgento","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3p1%2Fdockgento/lists"}