{"id":27700339,"url":"https://github.com/mlouguid/containerize-app-php","last_synced_at":"2025-04-25T18:58:54.622Z","repository":{"id":289452839,"uuid":"959799698","full_name":"mlouguid/containerize-app-php","owner":"mlouguid","description":"How to dockerize simple project php-nginx-mysql-redis","archived":false,"fork":false,"pushed_at":"2025-04-23T11:16:43.000Z","size":1350,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T11:26:11.413Z","etag":null,"topics":["docker","docker-compose","github-actions","k8s","mysql","nginx","php","redis"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlouguid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-03T11:23:47.000Z","updated_at":"2025-04-23T10:18:56.000Z","dependencies_parsed_at":"2025-04-23T11:26:15.974Z","dependency_job_id":"2acd2d67-1d96-488d-919a-0687da7f2420","html_url":"https://github.com/mlouguid/containerize-app-php","commit_stats":null,"previous_names":["mlouguid/containerize-app-php"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouguid%2Fcontainerize-app-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouguid%2Fcontainerize-app-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouguid%2Fcontainerize-app-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouguid%2Fcontainerize-app-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlouguid","download_url":"https://codeload.github.com/mlouguid/containerize-app-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250878752,"owners_count":21501741,"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":["docker","docker-compose","github-actions","k8s","mysql","nginx","php","redis"],"created_at":"2025-04-25T18:58:54.038Z","updated_at":"2025-04-25T18:58:54.624Z","avatar_url":"https://github.com/mlouguid.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# containerize-php-app\n\n\u003c/div\u003e\n\n\u003cimg src=\"./images/shema.png\" alt=\"php mysql mysql redis nginx docker k8s\" /\u003e\n\n## Project Requirements\n\t•\tContainerized application using PHP, Nginx, MySQL, and Redis\n\t•\tSimple PHP application code for demonstration\n\t•\tCI/CD setup using GitHub Actions\n\t•\tDeployment to Kubernetes (K8s)\n\n## 🚀 To get started quickly, just follow these steps:\n💡 **Note**: Before starting the project locally, make sure you have Docker Desktop and Docker Compose installed on your system.\n\n\u003e - [Install Docker \u0026 Docker Compose on macOS](https://docs.docker.com/desktop/install/mac-install/)\n\u003e - [Install Docker \u0026 Docker Compose on Windows](https://docs.docker.com/desktop/install/windows-install/)\n\nOnce installed, you’re ready to spin up the environment locally.\n\n\n\n## Infra Project\n\n```sh\n├── docker-compose.yaml\n├── services/\n│   ├── database/\n│   │   ├── mysql/\n│   │   │   ├── Dockerfile\n│   │   │   ├── .env\n│   │   ├── redis/\n│   │   │   ├── Dockerfile\n│   │   │   ├── .env\n│   └── web/\n│       ├── nginx/\n│       │   ├── Dockerfile\n│       │   ├── app.conf\n│       │   ├── fastcgi_params\n│       │   └── .env\n│       └── php/\n│           ├── public/\n│           │   └── index.php\n│           ├── src/\n│           ├── composer.json\n│           ├── Dockerfile\n│           ├── .env\n├── infra/\n│   ├── k8s/\n│       ├── deployments/\n│       └── services/\n```\n\n## Deploy to Docker Compose\n\n```sh\ndocker-compose up -d\n```\n\n## Deploy to k8s\n```sh\nkubectl apply -f infra/k8s\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlouguid%2Fcontainerize-app-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlouguid%2Fcontainerize-app-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlouguid%2Fcontainerize-app-php/lists"}