Browse Source

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

master
dimti 7 days ago
parent
commit
50148659c8
  1. 6
      .env.example

6
.env.example

@ -1,5 +1,7 @@
# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
DOCKER_HOST_IP=172.20.0.1
# Enter your gateway IP (your host IP under from docker containers) - that need for correctly worked xdebug from cli
# 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 ###############################################

Loading…
Cancel
Save