Docker4Drupal - Domains¶
Traefik container used for routing. By default, Docker4Drupal
use port 8000
to avoid potential conflicts but if port 80
is free on your host machine just replace Traefik
's ports definition in the compose file.
By default, the base URL is set to drupal.docker.localhost
.
In case you have throuble to access it, add 127.0.0.1 drupal.docker.localhost
to your /etc/hosts
file. Do the same for other default domains you might need from listed below.
Available Domains¶
Service | Domain | Enabled by default |
---|---|---|
nginx/apache | http://drupal.docker.localhost:8000 | Yes (nginx) |
mailhog | http://mailhog.drupal.docker.localhost:8000 | Yes |
portainer | http://portainer.drupal.docker.localhost:8000 | Yes |
pma | http://pma.drupal.docker.localhost:8000 | No |
adminer | http://adminer.drupal.docker.localhost:8000 | No |
solr | http://solr.drupal.docker.localhost:8000 | No |
nodejs | http://nodejs.drupal.docker.localhost:8000 | No |
node | http://front.drupal.docker.localhost:8000 | No |
varnish | http://varnish.drupal.docker.localhost:8000 | No |
webgrind | http://webgrind.drupal.docker.localhost:8000 | No |