Files
DOCKER_wordpress/notes.md
asus e1c2d6c64a - added todo for not hard conding project name
- and removed hard url in makefile for localhost redirection
2024-02-08 16:39:51 +01:00

2.1 KiB

debug :

  • docker exec -ti <container-name> bash to run bash inside a running container
  • docker logs <container_name> to see the logs on standard output of a container
  • docker ps to list the container, and see their names

todo :

  • VOLUMES : it still not clear the better way to deal with volumes :
  • ERRORS LOG : it would be better to have a way to see all the error logs from all containers maybe with a volume for logs
    • in the meantime, here are the logs :
      • wordpress : /var/www/html/wp-content/ as precised in the wp-config.php file with DEBUG_LOGS variable, that i create in wp_entrypoint.sh
      • mariadb :
      • nginx :
  • PROJECT NAME :
    • for the moment we need to modify the project name and url in the model.env file
    • that would be better to do it in the parent directory
  • LOCAL URL :
    • adding local url in /etc/hosts don't work
    • makefile don't warn it's not there
    • it should also print the path