+ additional doc for detect your gateway/host ip in docker network and describe how to ufw allow appropriate ports

This commit is contained in:
2025-01-16 09:21:37 +03:00
parent 65c9b61c51
commit 50148659c8

View File

@ -1,5 +1,7 @@
# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1` # Enter your gateway IP (your host IP under from docker containers) - that need for correctly worked xdebug from cli
DOCKER_HOST_IP=172.20.0.1 # For detect that IP use: docker network inspect structure_default | grep Gateway | xargs | cut -d ' ' -f2
# For UFW allowing ports on the host system: ufw allow to 172.18.0.1 port 9000,9003
DOCKER_HOST_IP=172.18.0.1
PROJECTS_DIR=/home/youruser/PhpstormProjects PROJECTS_DIR=/home/youruser/PhpstormProjects
### Common ############################################### ### Common ###############################################