{"id":15023637,"url":"https://github.com/mafio69/php56","last_synced_at":"2026-02-19T06:31:23.755Z","repository":{"id":135042690,"uuid":"459570239","full_name":"mafio69/php56","owner":"mafio69","description":"nginx php56 docker docker-compose","archived":false,"fork":false,"pushed_at":"2022-02-21T07:12:58.000Z","size":14574,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T18:43:46.098Z","etag":null,"topics":["docker","docker-compose","dockerfile","nginx","nginx-configuration","php","php56","xdebug"],"latest_commit_sha":null,"homepage":"","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/mafio69.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":"2022-02-15T12:31:49.000Z","updated_at":"2022-02-17T16:00:51.000Z","dependencies_parsed_at":"2023-05-13T02:45:48.698Z","dependency_job_id":null,"html_url":"https://github.com/mafio69/php56","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafio69%2Fphp56","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafio69%2Fphp56/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafio69%2Fphp56/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mafio69%2Fphp56/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mafio69","download_url":"https://codeload.github.com/mafio69/php56/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324266,"owners_count":20273098,"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","dockerfile","nginx","nginx-configuration","php","php56","xdebug"],"created_at":"2024-09-24T19:59:16.539Z","updated_at":"2025-10-16T08:10:57.336Z","avatar_url":"https://github.com/mafio69.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"*Tested on ubuntu 20.04\n\n**For the application to work, it is necessary to run dockerfile or docker-compose**\n**To run on the system, docker and docker-compose must be installed**\n\n---\n# Note: All commands are executed in the directory where docker-compose.yml is located\n### [host] your computer your system\n### [docker] system installed in a docker, in a container\n___\n___\n### Linux\n\n1.[install docker ubuntu](https://docs.docker.com/engine/install/ubuntu/)  \n2.[install docker-compose ubuntu](https://docs.docker.com/compose/install)\n\n### WIN\n\n1.[install docker win ??](https://docs.docker.com/docker-for-windows/install/)\n\n**NOTE `\u003cEXAMPLE\u003e` To be replaced with the appropriate values**\n**`exit 0` or `exit status 0` In linux it means `[OK]` any other number is an error**\n\n## RUN APPLICATION\n\n---\n### ROAD MAP:\n\n### First run  \n\nBuild `./.env` the file from `./.env_example`  [host]  \n###Sometimes it doesn't work for commands on the host add 'sudo'  (`sudo docker ....`) in front  \n###Paste your application in the `/main`directory, server nginx will look for `index.php` in the `/main/public` directory  \n* terminal in host `docker-compose down` [host]  \n* terminal in host `docker-compose up --build` . [host]     \n **It works!**  \n- list container `docker ps`  (take the container id) [host]  \n- insert the id of the container you want to use `docker exec -it \u003cCONTAINER_ID\u003e bash` [host]  \n- terminal in container  `cd /main` [docker]  \n- terminal in container next `composer install -o`[docker]  \n- terminal in container end   `exit` out container terminal [docker]  \n\n### Next starts\n\n`docker-compose up --build` or faster `docker-compose up` [host]\n\n##**NOTE**\n\n---\n\n- in case of port conflicts, database name ... it is possible to change the value in the `./.env`  file in the\n  .env_example**_ file\n\n### Links according to the .env_example file:\nNOTE: RUN `docker ps` The list will include the port, e.g. 8070:8080 the first is the host port, e.g. http://localhost:8070   \nused in the browser should display a running application  \napp: http://localhost:\u003cWEB_PORT_LOCAL\u003e  \ndatabase: localhost:\u003cDB_PORT_LOCAL\u003e user: \u003cDB_USER\u003e(test)   \npassword:\u003cDB_PASSWORD\u003e(1234) database:\u003cDB_NAME\u003e(test)\n\n\n### Links according to the .env_example file:\n\nNOTE: RUN `docker ps` The list will include the port, e.g. 8070:8080 the first is the host port, e.g. http://localhost:8070\nused in the browser should display a running application\napp: http://localhost:\u003cWEB_PORT_LOCAL\u003e\ndatabase: localhost:\u003cDB_PORT_LOCAL\u003e user: \u003cDB_USER\u003e(test)\npassword:\u003cDB_PASSWORD\u003e(1234) database:\u003cDB_NAME\u003e(test)\n___\n## WARNING\n\n### All discovered passwords are examples, all addresses also apply to the local network, after deploying locally, they should be changed.\n\n[mafio69](mailto:mf1969@gmail.com?subject=[GitHub]%20Docker%20Repo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafio69%2Fphp56","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmafio69%2Fphp56","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmafio69%2Fphp56/lists"}