{"id":20925113,"url":"https://github.com/gbh-tech/lep-docker","last_synced_at":"2026-02-26T04:52:00.110Z","repository":{"id":14060477,"uuid":"75774932","full_name":"gbh-tech/lep-docker","owner":"gbh-tech","description":" Linux, Nginx, PHP Docker image for Laravel apps!","archived":false,"fork":false,"pushed_at":"2024-07-03T14:53:37.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-25T11:42:46.979Z","etag":null,"topics":["docker","image","lemp","lep","linux","nginx","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/gbh-tech.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-12-06T21:54:32.000Z","updated_at":"2024-07-03T14:53:40.000Z","dependencies_parsed_at":"2025-10-25T11:28:16.282Z","dependency_job_id":"36ddf526-9c21-452b-8274-2aa3acbab712","html_url":"https://github.com/gbh-tech/lep-docker","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/gbh-tech/lep-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Flep-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Flep-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Flep-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Flep-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbh-tech","download_url":"https://codeload.github.com/gbh-tech/lep-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbh-tech%2Flep-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29849044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"online","status_checked_at":"2026-02-26T02:00:06.774Z","response_time":89,"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":["docker","image","lemp","lep","linux","nginx","php","wordpress"],"created_at":"2024-11-18T20:29:19.504Z","updated_at":"2026-02-26T04:52:00.069Z","avatar_url":"https://github.com/gbh-tech.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- omit in toc --\u003e\n# gbh.tech - Linux, Nginx PHP (LEP) Docker Image\n\n[![🧪 Tests](https://github.com/gbh-tech/lep-docker/actions/workflows/test.yml/badge.svg)](https://github.com/gbh-tech/lep-docker/actions/workflows/test.yml)\n[![🚀 Push](https://github.com/gbh-tech/lep-docker/actions/workflows/push.yml/badge.svg)](https://github.com/gbh-tech/lep-docker/actions/workflows/push.yml)\n[![✨ Lint](https://github.com/gbh-tech/lep-docker/actions/workflows/lint.yml/badge.svg)](https://github.com/gbh-tech/lep-docker/actions/workflows/lint.yml)\n\n\u003c!-- omit in toc --\u003e\n## Content\n\n- [📄 Description](#-description)\n- [🗃️ Included dependencies](#️-included-dependencies)\n- [🔖 Relevant considerations](#-relevant-considerations)\n- [🎯 How To Use](#-how-to-use)\n- [🐳 Build your image](#-build-your-image)\n- [🚀 Run your app](#-run-your-app)\n\n## 📄 Description\n\nLEP comes from the original `LAMP` stack which was based on **L**inux,\n**A**pache, **M**ySQL and **P**HP. LEP is a docker-oriented alternative\nthat uses Nginx in favor Apache and separates the MySQL dependency since it\ncan be configured as a service using docker compose.\n\n\u003e **Note**: This image is **not meant for production** use. It was designed\n\u003e to serve as an auxiliary image for development and testing environments.\n\n## 🗃️ Included dependencies\n\n- Ubuntu Jammy\n- Node.js 20.x\n- Git\n- Nginx\n- PHP (7.4, 8.0, 8.1)\n  - php-cli\n  - php-curl\n  - php-dev\n  - php-fpm\n  - php-gd\n  - php-imap\n  - php-mbstring\n  - php-mysql\n  - php-pgsql\n  - php-readline\n  - php-xml\n  - php-zip\n\n## 🔖 Relevant considerations\n\n- The default user for your web files should be `www-data`.\n  If the permissions of your files are not properly set, you might end up\n  with HTTP 403 errors from the web server.\n\n## 🎯 How To Use\n\nTo use this image, you should set it as your base image using the\n`FROM` instruction:\n\n```docker\nFROM solucionesgbh/lep:${PHP_VERSION}\n\n# Copy your app into the /app folder\nWORKDIR /app\nCOPY . .\n\n# Install your dependencies\nRUN composer install --no-interaction\nRUN npm ci\n\n# Configure your environment seetings\nCOPY --chown=www-data:www-data path/to/your/example/.env .env\nCOPY --chown=www-data:www-data path/to/your/example/local-config.php local-config.php\n\n# Ensures permissions of the app folder are set to www-data\nCOPY --chown=www-data:www-data .\n\n# Optional: Specify the supervisord command\n# You can just leave this out and it will use the base image default\nCMD [\"/usr/bin/supervisord\", \"--nodaemon\", \"-c\", \"/etc/supervisor/supervisord.conf\"]\n```\n\n## 🐳 Build your image\n\nTo build your custom image, on your terminal execute the following `docker build` command:\n\n```shell\ndocker build . -t myapp:myversion\n```\n\n## 🚀 Run your app\n\nTo run your custom container, on your terminal execute the following `docker run` command:\n\n```shell\ndocker run \\\n  --name myAppContainer \\\n  -p \"${myPublishedPort}:80\" \\\n  myapp:myversion\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh-tech%2Flep-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbh-tech%2Flep-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbh-tech%2Flep-docker/lists"}