![]() Enter name my-ide (as specified in PHP_IDE_CONFIG).Click to to the right of Server and add a new server.Open Run > Edit Configurations from the main menu, choose Defaults > PHP Web Page in the left sidebar.You must additionally configure your IDE to debug CLI requests. Īlso, you might need to update your hosts file. Allow listen connection for your IDE in Windows Firewall > Allow an app.Uncomment PHP_XDEBUG_REMOTE_HOST: for PHP service.Uncomment PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 for PHP service.Perform configuration as described below depending on your OS and Docker version:.Do the same for other default domains you might need from listed below: Service env file.Īdd 127.0.0.1 to your /etc/hosts file (some browsers like Chrome may work without it). By default, we use port 8000 to avoid potential conflicts but if port 80 is free on your host machine just replace traefik's ports definition in the compose file.īy default BASE_URL set to, you can change it in. We release updates to images from time to time, you can find detailed changelog and update instructions on GitHub under releases page Domains ¶ĭocker4PHP uses traefik container for routing. You can stop containers by executing make stop or docker-compose stop. You can see status of your containers and their logs via portainer:.Your php application should be up and running at.Run containers: make up or docker-compose up -d. ![]() ![]() Optional: Windows users please read this.Optional: uncomment lines in the compose file to run redis, elasticsearch, kibana, etc. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |