{"id":16233131,"url":"https://github.com/iulyanp/docker-dev-stack","last_synced_at":"2026-04-12T09:44:22.165Z","repository":{"id":91895797,"uuid":"128560199","full_name":"iulyanp/docker-dev-stack","owner":"iulyanp","description":"Docker stack environment gives you everything you need for develop PHP web applications","archived":false,"fork":false,"pushed_at":"2018-05-07T17:21:16.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T07:39:57.271Z","etag":null,"topics":["docker","memcache","mysql","nginx","php-fpm","rabbitmq","redis"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/iulyanp.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}},"created_at":"2018-04-07T19:15:27.000Z","updated_at":"2025-01-26T20:30:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b0d2edf-f145-41bc-beec-40d6406be369","html_url":"https://github.com/iulyanp/docker-dev-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iulyanp/docker-dev-stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iulyanp%2Fdocker-dev-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iulyanp%2Fdocker-dev-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iulyanp%2Fdocker-dev-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iulyanp%2Fdocker-dev-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iulyanp","download_url":"https://codeload.github.com/iulyanp/docker-dev-stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iulyanp%2Fdocker-dev-stack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264608246,"owners_count":23636691,"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","memcache","mysql","nginx","php-fpm","rabbitmq","redis"],"created_at":"2024-10-10T13:11:33.759Z","updated_at":"2026-04-12T09:44:17.134Z","avatar_url":"https://github.com/iulyanp.png","language":"HTML","readme":"Docker dev stack\n-----\n\nDocker stack environment gives you everything you need for develop PHP web applications.\n\n- Portainer\n- PHP7-FPM \n- NGINX \n- MySQL \n- Memcache \n- Redis \n- RabbitMQ\n\n### Installation\n\n1. Create a .env from the .env.dist file. Adapt it according to your needs\n\n```\n$ cp .env.example .env\n```\n\n2. Add a new nginx vhost file for your project\n\nBefore you start the containers, you have to add a vhost file to `config/sites`  folder.\nIf you are using Symfony framework you can find \n[here](https://symfony.com/doc/current/setup/web_server_configuration.html#nginx) an example of the configuration \nfor nginx.\n\n\u003e Note! You have to use the socket for php-fpm which is mapped in a volume on `/var/run/php-fpm/php-fpm.sock`\n\n3. Update your system host file\n\n```\n# project.local is the server_name set up on the vhost\n$ echo project.local \u003e\u003e /etc/hosts\n```\n\n### Usage\n\nJust run `docker-compose up -d` and you'll have all the containers up and running.\n\n### How it works\n\nYou can find in the `docker-compose` file all the services of the dev stack:\n \n - mysql: The MySQL database container\n - memcache: The Memcache container\n - redis: This is the Redis container\n - php-fpm: This is the PHP-FPM container in which the application volume is mounted\n - nginx: This is the Nginx webserver container, also in which application volume is mounted\n - rabbitmq: This is the RabbitMQ container you can use to create your queues\n - portainer: This is the container that will provide you a nice and useful web interface for Docker (visit \n [http://localhost:8085](http://localhost:8085))\n\nIf you want to see what containers are running you can use:\n\n```\n$ docker-compose ps\n\n  Name                 Command               State                                              Ports\n-------------------------------------------------------------------------------------------------------------------------------------------------\nmemcache    docker-entrypoint.sh memcached   Up      0.0.0.0:11211-\u003e11211/tcp\nmysql       docker-entrypoint.sh mysqld      Up      0.0.0.0:3306-\u003e3306/tcp\nnginx       supervisord -n -c /etc/sup ...   Up      0.0.0.0:80-\u003e80/tcp\nphp-fpm     /bin/sh -c entrypoint.sh         Up\nportainer   /portainer                       Up      0.0.0.0:8085-\u003e9000/tcp\nrabbitmq    docker-entrypoint.sh rabbi ...   Up      0.0.0.0:8081-\u003e15672/tcp, 25672/tcp, 4369/tcp, 0.0.0.0:5671-\u003e5671/tcp, 0.0.0.0:5672-\u003e5672/tcp\nredis       docker-entrypoint.sh redis ...   Up      0.0.0.0:6379-\u003e6379/tcp\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiulyanp%2Fdocker-dev-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiulyanp%2Fdocker-dev-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiulyanp%2Fdocker-dev-stack/lists"}