{"id":19973999,"url":"https://github.com/marioblazek/docker-varnish-nginx-php","last_synced_at":"2025-07-15T10:13:02.840Z","repository":{"id":93079182,"uuid":"246250252","full_name":"MarioBlazek/docker-varnish-nginx-php","owner":"MarioBlazek","description":"A simple Docker configuration for PHP, nginx and Varnish","archived":false,"fork":false,"pushed_at":"2020-03-10T13:47:54.000Z","size":21,"stargazers_count":12,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-04T02:40:21.856Z","etag":null,"topics":["docker","nginx","php","symfony","var","varnish"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/MarioBlazek.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":"2020-03-10T08:47:50.000Z","updated_at":"2024-09-07T02:05:21.000Z","dependencies_parsed_at":"2023-03-07T04:31:16.632Z","dependency_job_id":null,"html_url":"https://github.com/MarioBlazek/docker-varnish-nginx-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarioBlazek/docker-varnish-nginx-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fdocker-varnish-nginx-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fdocker-varnish-nginx-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fdocker-varnish-nginx-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fdocker-varnish-nginx-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarioBlazek","download_url":"https://codeload.github.com/MarioBlazek/docker-varnish-nginx-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBlazek%2Fdocker-varnish-nginx-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265428017,"owners_count":23763461,"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","nginx","php","symfony","var","varnish"],"created_at":"2024-11-13T03:13:34.159Z","updated_at":"2025-07-15T10:13:02.817Z","avatar_url":"https://github.com/MarioBlazek.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Docker config for nginx, Varnish and PHP\n\n[![Build Status](https://img.shields.io/travis/MarioBlazek/docker-varnish-nginx-php.svg?style=flat-square)](https://travis-ci.org/MarioBlazek/docker-varnish-nginx-php)\n\nThis is a simple Docker setup to play around PHP and Varnish.\n\nTo power up the Docker:\n\n```bash\ndocker-compose up\n```\n\nIf you do any changes on Docker file, don't forget to build up the changes:\n\n```bash\ndocker-compose up --build\n```\n\nEntering Docker containers:\n* PHP - `docker exec -it marek_php /bin/bash`\n* nginx - `docker exec -it marek_nginx /bin/bash`\n* Varnish - `docker exec -it marek_varnish /bin/bash`\n\nInstall Symfony:\n* enter PHP container\n* switch to `/workspace` directory\n* remove the `php` directory\n* execute `symfony new php --no-git` command\n* navigate to `http://localhost:5001/` or `http://localhost:5002/` and you should see a Symfony welcome page\n* enter Varnish container and clear cache if necessary `varnishadm ban req.http.host == localhost:5002`\n\nTo remove the containers enter:\n```bash\ndocker container rm marek_varnish marek_php marek_nginx\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarioblazek%2Fdocker-varnish-nginx-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarioblazek%2Fdocker-varnish-nginx-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarioblazek%2Fdocker-varnish-nginx-php/lists"}