see (http://github.com/infracamp/kickstart) for more information.
Document Index:
Tag | Version |
---|---|
latest | 7.2 |
testing | 7.2 |
experimental | 7.2 |
7.4-experimental | 7.4 new |
7.4-testing | coming soon |
7.4-stable | coming soon |
Key | Default | Description |
---|---|---|
http_port |
80 |
The internal port, apache listens on |
apache_www_root |
/opt/www |
The document root |
apache_fallback_resource |
null |
All requests will be redirected to this script. |
SYSLOG_HOST |
'' | Send apache2 error log to this host |
Make sure your IDE has plugins installed for:
Xdebug is enabled by default if you are in development mode (the project is run by kickstart.sh)
Xdebug is configured to connect the IDE on the Docker-Host-IP
(which is the first configured IP of your
host machine - determined by kickstart.sh) on Port 9000
Activate remote debugging in Settings:
Open Run > Edit configurations...
The idekey and serverName is the name of your project!
Enable Path Mappings:
Ensure
serverName
,idekey
andconfigName
is the same of your project name
To start debugging via browser open:
http://localhost/?XDEBUG_SESSION_START=project123-name
just set the breakpoint
If debugging won't work, use our checklist to determine the cause:
-
Check the docker-host's IP was propagated correctly.
- The IP should be set as environment-variable
DOCKER_HOST_IP
- Inside the container type
echo $DOCKER_HOST_IP
should print your ip
A) Check kickstart.sh is the newest version (perform ./kickstart.sh --upgrade)
B) Solution: Check
hostname -i
returns your primary IP address on your host machine. - The IP should be set as environment-variable
-
Check the IDE is connectable from within the container on Port
9000
- Install netcat and try the script below:
sudo apt install netcat nc -zw3 $DOCKER_HOST_IP 9000 && echo "OK: IDE is reachable on port 9000" || echo "ERROR: IDE unreachable"
A) Check if you can reach this PORT from outside the container. If not your IP might be wrong, or your IDE is not correctly configured.
-
Check your IDE-Settings.