{"id":28748894,"url":"https://github.com/geowrgetudor/basicdocker","last_synced_at":"2025-10-09T05:35:12.886Z","repository":{"id":91202260,"uuid":"215889869","full_name":"geowrgetudor/basicdocker","owner":"geowrgetudor","description":"Basic docker-compose file for web developers","archived":false,"fork":false,"pushed_at":"2020-11-28T17:08:59.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T11:05:12.558Z","etag":null,"topics":["docker","docker-compose","php","php-container","php-docker","php-docker-image","php-environment"],"latest_commit_sha":null,"homepage":null,"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/geowrgetudor.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2019-10-17T21:37:42.000Z","updated_at":"2020-11-28T17:09:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"385f7399-91de-4e3b-86e9-b2a9aeec763b","html_url":"https://github.com/geowrgetudor/basicdocker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geowrgetudor/basicdocker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geowrgetudor%2Fbasicdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geowrgetudor%2Fbasicdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geowrgetudor%2Fbasicdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geowrgetudor%2Fbasicdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geowrgetudor","download_url":"https://codeload.github.com/geowrgetudor/basicdocker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geowrgetudor%2Fbasicdocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000742,"owners_count":26082932,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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","docker-compose","php","php-container","php-docker","php-docker-image","php-environment"],"created_at":"2025-06-16T19:13:13.825Z","updated_at":"2025-10-09T05:35:12.600Z","avatar_url":"https://github.com/geowrgetudor.png","language":"Dockerfile","readme":"# Basic Docker DEV environment for Web Developers\n\nLighweight and simple. Do NOT use this in production.\n\n## Upgrade\n\nNote: If you were running this before and want to upgrade from PHP 7.3 to PHP 7.4 you will just need to remove the php-fpm container and rebuild it.\n\n```\ndocker-compose stop\ndocker-compose rm \u003cphp_fpm_container_id\u003e\ndocker-compose build --no-cache\ndocker-compose up -d --force-recreate\n```\n\n## Packages\n\n* PHP 7.4\n* MySql 8.0\n* Nginx\n* phpMyAdmin\n* Redis\n* Composer\n* Mailhog\n\n## Installation\n\nClone or download this repository in your project's root folder\n\n```bash\ngit clone git@github.com:zippos/basicdocker.git\n```\n\n## Usage\n\nCopy ```.env.example``` to ```.env```.\nBy default the ```HOST_ROOT``` is set to the parent folder but you can set it up however you want.\n\nCopy ```svqdocker/nginx/nginx.example``` to ```svqdocker/nginx/nginx.conf```\nBy default, the nginx confg loads your application from the root directory. If you want to change that, edit the ```.conf``` file.\n\nRun\n```\ndocker-compose up -d\n```\n\nExample for Laravel:\n```\n# default root path\nroot /application;\n\n# laravel root path\nroot /application/public;\n```\n\nYou can easily stop, remove and rebuild all containers with just one command.\n```\n./docker-rebuild.sh\n```\n\n**WARNING!** By using ```docker-rebuild.sh``` you will lose all your databases.\n\nExposed ports\n```\nlocalhost:8000 # webserver default\nlocalhost:8081 # mailhog default\nlocalhost:8080 # phpmyadmin default\n```\n\nHostnames\n```\nmysql # for mysql\nredis # for redis\nphp-fpm # for php-fpm (port 9000)\nmailhog # for mail\n```\n\nMySql default user \u0026 password\n```\nroot:root\n```\n\nUpload size limit\n```\n256M # phpmyadmin\n100M # webserver\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeowrgetudor%2Fbasicdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeowrgetudor%2Fbasicdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeowrgetudor%2Fbasicdocker/lists"}