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.Ensure database credentials match in your database config and.Make sure NGINX_SERVER_ROOT (or APACHE_DOCUMENT_ROOT) is set to your project public directory with index.php (by default /var/www/html/public).Download from the latest stable release and unpack to your PHP project root.To use a bind mount uncomment to corresponding line under db server's volumes: in your docker-compose.yml and update the host path to your data directory. If you want to have your DB data all-time persistent and attached, we recommend using a bind mount. However, if you run docker-compose down (it's ok to use stop though) these volumes will not be reattached when you run docker-compose up. By default Docker will create a persistent volume for your DB data and unless you explicitly remove volumes the files will not be deleted.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |