wodby / docker4drupal

Docker-based Drupal stack
https://wodby.com/docker4drupal
MIT License
1.24k stars 531 forks source link

Last release with Traefik doesn't work anymore #117

Open MXTcomunica opened 7 years ago

MXTcomunica commented 7 years ago

Hi all,

and thank you for your great work. I've always used docker4drupal without any problem until last version pull (that one that introduces Traefik).

What works:

  1. network of containers is correctly created,
  2. I can enter in containers correctly,
  3. drush status respond correctly
  4. database is correctly setted up
  5. traefik ui dashboard is correctly reached using http://localhost:8080
  6. from traefik dashboard I can reach services BUT ONLY using ip links, not domains, e.g:

What doesn't works:

  1. Nothing can be reached using domains (blank pages without any feedback, with "load icon" always "rotating"), so:
  2. http://drupal.docker.localhost:8000 doesn't work
  3. http://pma.drupal.docker.localhost:8000 doesn't work
  4. ... (same for all other default domains)
  5. direct IP link to php container (http://172.29.0.7:9000/) triggers a error with browser "Connection aborted" feedback

Environment

  1. OS Ubuntu 16.04 LTS running within a VirtualBox VM as guest (Windows 10 as host). This has always worked (and still works) with "older" docker4drupal releases.
  2. Docker version 17.03.0-ce, build 3a232c8
  3. docker-compose version 1.11.2, build dfed245

docker-compose.yml

Traefik dashboard screenshot traefik-fullpage

What could be the problem?

Please help me.

Thank you

nrutkowski commented 7 years ago

I'm having the same issue. Trying to hit http://drupal.docker.localhost:8000/install.php gives me Nginx 404 error.

tanc commented 7 years ago

I'm also having similar issues except I can't ssh into the containers although they look like they're set up correctly. I'm using Dinghy on OS X.

When I try: docker-compose exec php sh I get: ERROR: No container found for php_1

Yet docker ps shows it running.

My traefik dashboard looks like the screenshot in the first post.

I'm also seeing problems with docker-sync: Fatal error: Failed to connect to the server on host 127.0.0.1:32769

csandanov commented 7 years ago

Hmm, I can't reproduce it with the latest traefik image on macOS. What do you see in traefik logs (docker-compose logs traefik)? Perhaps this has something to do with your specific environment (VirtualBox, dinghy).

pprishchepa commented 7 years ago

@MXTcomunica could you exec traefik container in a debug mode via command directive : -c /dev/null --web --docker --logLevel=DEBUG and attach logs here?

pprishchepa commented 7 years ago

@nrutkowski It doesn't look like the same issue. Please create a new issue and attach php and nginx logs. Also check a docroot permissions please.

pprishchepa commented 7 years ago

@tanc

ERROR: No container found for php_1

What's in docker-compose ps?

tanc commented 7 years ago

ah sorry, the ssh issue was a red herring as I was in the wrong directory. I can now definitely docker-compose exec php sh

nrutkowski commented 7 years ago

I was able to get drupal install going by putting the drupal files in a docroot directory in the root. but now I can't get connected to the database because it's asking for a host and there is no visible host. Any ideas? @PavelPrischepa

csandanov commented 7 years ago

@nrutkowski make sure you have mariadb container up and running (docker-compose ps), and then ensure that the credentials (env vars in the compose file) are the same for mariadb and php container. Also, you can look up logs via docker-compose logs php or just run without detached (-d) mode.

nrutkowski commented 7 years ago

@csandanov I've switched from mariadb to MySQL - will that cause issues? Also, I don't run in detached mode, I just run docker-compose up . Also I will have to check logs.

What would the host be for the database anyway?

csandanov commented 7 years ago

The host is the same as the name of your service in docker-compose file, by default it's mariadb. MySQL should normally work too, but make sure that the env vars are the same.

MXTcomunica commented 7 years ago

@PavelPrischepa here's traefik log:

/var/www/html/test2$ docker-compose logs traefik
Attaching to test2_traefik_1
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Traefik version v1.2.0 built on 2017-03-21_09:50:01AM" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Using TOML configuration file /dev/null" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Global configuration loaded {\"GraceTimeOut\":10,\"Debug\":false,\"CheckNewVersion\":true,\"AccessLogsFile\":\"\",\"TraefikLogsFile\":\"\",\"LogLevel\":\"DEBUG\",\"EntryPoints\":{\"http\":{\"Network\":\"\",\"Address\":\":80\",\"TLS\":null,\"Redirect\":null,\"Auth\":null,\"Compress\":false}},\"Cluster\":null,\"Constraints\":[],\"ACME\":null,\"DefaultEntryPoints\":[\"http\"],\"ProvidersThrottleDuration\":2000000000,\"MaxIdleConnsPerHost\":200,\"InsecureSkipVerify\":false,\"Retry\":null,\"Docker\":{\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false},\"File\":null,\"Web\":{\"Address\":\":8080\",\"CertFile\":\"\",\"KeyFile\":\"\",\"ReadOnly\":false,\"Statistics\":null,\"Metrics\":null,\"Auth\":null},\"Marathon\":null,\"Consul\":null,\"ConsulCatalog\":null,\"Etcd\":null,\"Zookeeper\":null,\"Boltdb\":null,\"Kubernetes\":null,\"Mesos\":null,\"Eureka\":null,\"ECS\":null,\"Rancher\":null}" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> Compress:false}" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Starting provider *provider.Docker {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false}" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Starting provider *main.WebProvider {\"Address\":\":8080\",\"CertFile\":\"\",\"KeyFile\":\"\",\"ReadOnly\":false,\"Statistics\":null,\"Metrics\":null,\"Auth\":null}" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Starting server on :80" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Docker connection established with docker 17.03.0-ce (API 1.26)" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-solr: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-mariadb-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-php-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-redis-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-traefik-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-mailhog: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-nginx: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Load balancer method '<nil>' for backend backend-pma: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-mailhog\":{\"servers\":{\"server-test2_mailhog_1\":{\"url\":\"http://172.30.0.2:8025\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-nginx\":{\"servers\":{\"server-test2_nginx_1\":{\"url\":\"http://172.30.0.8:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-pma\":{\"servers\":{\"server-test2_pma_1\":{\"url\":\"http://172.30.0.6:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-solr\":{\"servers\":{\"server-test2_solr_1\":{\"url\":\"http://172.30.0.3:8983\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-mariadb-1\":{\"servers\":{\"server-test2_mariadb_1\":{\"url\":\"http://172.30.0.7:3306\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-php-1\":{\"servers\":{\"server-test2_php_1\":{\"url\":\"http://172.30.0.5:9000\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-redis-1\":{\"servers\":{\"server-test2_redis_1\":{\"url\":\"http://172.30.0.4:6379\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-traefik-1\":{\"servers\":{\"server-test2_traefik_1\":{\"url\":\"http://172.30.0.9:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-nginx\",\"routes\":{\"route-frontend-Host-drupal-docker-localhost\":{\"rule\":\"Host:drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-mailhog-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-mailhog\",\"routes\":{\"route-frontend-Host-mailhog-drupal-docker-localhost\":{\"rule\":\"Host:mailhog.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-pma-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-pma\",\"routes\":{\"route-frontend-Host-pma-drupal-docker-localhost\":{\"rule\":\"Host:pma.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-solr-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-solr\",\"routes\":{\"route-frontend-Host-solr-drupal-docker-localhost\":{\"rule\":\"Host:solr.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-mariadb-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-mariadb-1\",\"routes\":{\"route-frontend-Host-test2-mariadb-1\":{\"rule\":\"Host:test2-mariadb-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-php-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-php-1\",\"routes\":{\"route-frontend-Host-test2-php-1\":{\"rule\":\"Host:test2-php-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-redis-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-redis-1\",\"routes\":{\"route-frontend-Host-test2-redis-1\":{\"rule\":\"Host:test2-redis-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-traefik-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-traefik-1\",\"routes\":{\"route-frontend-Host-test2-traefik-1\":{\"rule\":\"Host:test2-traefik-1.\"}},\"passHostHeader\":true,\"priority\":0}}}" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Last docker config received more than 2s, OK" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-drupal-docker-localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-drupal-docker-localhost Host:drupal.docker.localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-nginx" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_nginx_1 at http://172.30.0.8:80 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-mailhog-drupal-docker-localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-mailhog-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-mailhog-drupal-docker-localhost Host:mailhog.drupal.docker.localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-mailhog" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_mailhog_1 at http://172.30.0.2:8025 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-pma-drupal-docker-localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-pma-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-pma-drupal-docker-localhost Host:pma.drupal.docker.localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-pma" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_pma_1 at http://172.30.0.6:80 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-solr-drupal-docker-localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-solr-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-solr-drupal-docker-localhost Host:solr.drupal.docker.localhost" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-solr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_solr_1 at http://172.30.0.3:8983 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-test2-mariadb-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-test2-mariadb-1 to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-test2-mariadb-1 Host:test2-mariadb-1." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-test2-mariadb-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_mariadb_1 at http://172.30.0.7:3306 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-test2-php-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-test2-php-1 to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-test2-php-1 Host:test2-php-1." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-test2-php-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_php_1 at http://172.30.0.5:9000 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-test2-redis-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-test2-redis-1 to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-test2-redis-1 Host:test2-redis-1." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-test2-redis-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_redis_1 at http://172.30.0.4:6379 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating frontend frontend-Host-test2-traefik-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Wiring frontend frontend-Host-test2-traefik-1 to entryPoint http" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating route route-frontend-Host-test2-traefik-1 Host:test2-traefik-1." 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating backend backend-test2-traefik-1" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-27T13:06:59Z" level=debug msg="Creating server server-test2_traefik_1 at http://172.30.0.9:80 with weight 0" 
traefik_1  | time="2017-03-27T13:06:59Z" level=info msg="Server configuration reloaded on :80"
csandanov commented 7 years ago

@MXTcomunica try following this advice: https://github.com/wodby/docker4drupal/issues/120#issuecomment-289440458

MXTcomunica commented 7 years ago

@csandanov tried, but nothing changes, issue still remains.

Here's my docker-compose ps if it can help:

$ docker-compose ps
     Name                    Command               State                      Ports                     
-------------------------------------------------------------------------------------------------------
test2_mailhog_1   /MailHog                         Up      1025/tcp, 8025/tcp                           
test2_mariadb_1   docker-entrypoint.sh mysqld      Up      3306/tcp                                     
test2_nginx_1     /docker-entrypoint-drupal. ...   Up      80/tcp                                       
test2_php_1       /docker-entrypoint.sh php-fpm    Up      9000/tcp                                     
test2_pma_1       /run.sh phpmyadmin               Up      80/tcp                                       
test2_redis_1     /docker-entrypoint.sh redi ...   Up      6379/tcp                                     
test2_solr_1      docker-entrypoint-solr.sh  ...   Up      8983/tcp                                     
test2_traefik_1   /traefik -c /dev/null --we ...   Up      0.0.0.0:8000->80/tcp, 0.0.0.0:8080->8080/tcp 
csandanov commented 7 years ago

@MXTcomunica what do you see in logs (docker-compose logs -f) when you request drupal.docker.localhost:8000? Normally, you should something like this:

php_1      | 172.18.0.7 -  27/Mar/2017:13:37:15 +0000 "GET /index.php" 200
nginx_1    | 172.18.0.3 - - [27/Mar/2017:13:37:15 +0000] "GET / HTTP/1.1" 200 5674 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36"
traefik_1  | time="2017-03-27T13:37:15Z" level=debug msg="Round trip: http://172.18.0.7:80, code: 200, duration: 37.139558ms"
traefik_1  | time="2017-03-27T13:37:15Z" level=debug msg="Round trip: http://172.18.0.7:80, code: 200, duration: 991.119µs"
MXTcomunica commented 7 years ago

When I request drupal.docker.localhost:8000: NO RUN TIME LOGS ARE LOGGED

When I request http://172.30.0.9:80 the following logs are written:

nginx_1    | 172.30.0.1 - - [27/Mar/2017:13:41:35 +0000] "GET / HTTP/1.1" 302 5 "http://localhost:8080/dashboard/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
php_1      | 172.30.0.9 -  27/Mar/2017:13:41:35 +0000 "GET /index.php" 302
php_1      | 172.30.0.9 -  27/Mar/2017:13:41:35 +0000 "GET /install.php" 200
nginx_1    | 172.30.0.1 - - [27/Mar/2017:13:41:35 +0000] "GET /install.php HTTP/1.1" 200 1595 "http://localhost:8080/dashboard/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"
mailhog_1  | [APIv1] KEEPALIVE /api/v1/events
pifagor87 commented 7 years ago

For newly installed Ubuntu 14.04 is also a problem

pprishchepa commented 7 years ago

@pifagor87 It works well for my Ubuntu 14.04 (Traefik v1.2.0).

pprishchepa commented 7 years ago

@MXTcomunica try to use a different hostname instead of drupal.docker.localhost (e.g. drupal.mysite.loc) then add it to hosts file (in windows) and attach to vbox machine IP address.

UPD: don't forget to update docker-compose labels:

labels:
  - 'traefik.backend=nginx'
  - 'traefik.port=80'
  - 'traefik.frontend.rule=Host:drupal.docker.localhost'
csandanov commented 7 years ago

@pifagor87 do you have Ubuntu on your host machine or do you use a virtual machine?

pifagor87 commented 7 years ago

Ubuntu installed on your PC. This basic system without the virtual machine

pifagor87 commented 7 years ago

working on http://172.20.0.9:80, but works through http: //drupal.docker.localhost/ docker1 Also at Drupal drupal 8.2.7 php: image: wodby / drupal-php: 7.0-2.0.0 has errors Could not gather sufficient random data in random_bytes () (line 31 of /var/www/html/core/lib/Drupal/Component/Utility/Crypt.php). And php: image: wodby / drupal-php: 5.6-2.0.0 Everything is O.K

MXTcomunica commented 7 years ago

@PavelPrischepa mmmm, mapping the provided IP from traefik dashboard:

172.30.0.9      drupal.mysite.loc

In /etc/hosts file IN my ubuntu host guest (running within the VM) the site is correctly reached, but I think this cannot be an option because that IP changes every time, or I'm wrong?

pprishchepa commented 7 years ago

@MXTcomunica yes, IP 172.30.0.9 isn't what I mean. Try to attach 'drupal.mysite.loc' to IP of your vbox machine, or to 127.0.0.1 if you use network bridge between host machine and vbox.

pprishchepa commented 7 years ago

@pifagor87 try to add into your /etc/hosts file:

127.0.0.1 drupal.docker.localhost
pprishchepa commented 7 years ago

@pifagor87

Could not gather sufficient random data in random_bytes () (line 31 of /var/www/html/core/lib/Drupal/Component/Utility/Crypt.php).

Does it reproduced for you with the latest version wodby/drupal-php:7.0?

MXTcomunica commented 7 years ago

@PavelPrischepa I'm using NAT and I've read around that is not so simple to get the vbox VM ip (it changes every time vbox starts). But I tried to add to /etc/hosts IN ubuntu the following:

127.0.0.1       drupal.docker.localhost
127.0.0.1       pma.drupal.docker.localhost
...

And works!!!

pifagor87 commented 7 years ago

@PavelPrischepa Does it reproduced for you with the latest version wodby/drupal-php:7.0? working 127.0.0.1 drupal.docker.localhost does not work

pprishchepa commented 7 years ago

@pifagor87 could you share you traefic logs (in debug mode), docker-compose.yml and ifconfig output.

PS please, use text formatting in you comments.

MXTcomunica commented 7 years ago

@PavelPrischepa an update: So I've added to ubuntu /etc/hosts file the following:

# Docker4Drupal
127.0.0.1       drupal.docker.localhost
127.0.0.1       pma.drupal.docker.localhost
127.0.0.1       mailhog.drupal.docker.localhost
127.0.0.1       solr.docker.localhost
127.0.0.1       front.drupal.docker.localhost
127.0.0.1       varnish.drupal.docker.localhost

and all services are correctly reached except:

http://solr.docker.localhost:8000/ => returns "404 page not found"
http://front.drupal.docker.localhost:8000/ => returns "404 page not found"
pprishchepa commented 7 years ago

@MXTcomunica What's in docker-compose logs?

MXTcomunica commented 7 years ago

@PavelPrischepa

$ docker-compose logs
Attaching to test2_varnish_1, test2_nginx_1, test2_mailhog_1, test2_solr_1, test2_mariadb_1, test2_pma_1, test2_php_1, test2_redis_1, test2_node_1, test2_traefik_1
varnish_1  | Debug: Platform: Linux,4.4.0-66-generic,x86_64,-junix,-smalloc,-smalloc,-hcritbit
varnish_1  | 
varnish_1  | Debug: Child (29) Started
varnish_1  | Info: Child (29) said Child starts
mailhog_1  | 2017/03/29 08:00:32 Using in-memory storage
mailhog_1  | 2017/03/29 08:00:32 [SMTP] Binding to address: 0.0.0.0:1025
mariadb_1  | Initializing database
mailhog_1  | [HTTP] Binding to address: 0.0.0.0:8025
mailhog_1  | 2017/03/29 08:00:32 Serving under http://0.0.0.0:8025/
mailhog_1  | Creating API v1 with WebPath: 
mailhog_1  | Creating API v2 with WebPath: 
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] /usr/bin/mysqld (mysqld 10.1.21-MariaDB) starting as process 51 ...
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Using Linux native AIO
solr_1     | 2017-03-29 08:00:55.538 INFO  (main) [   ] o.e.j.s.Server jetty-9.3.14.v20161028
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Initializing buffer pool, size = 1.0G
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Completed initialization of buffer pool
solr_1     | 2017-03-29 08:00:58.444 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 6.4.1
solr_1     | 2017-03-29 08:00:58.445 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
solr_1     | 2017-03-29 08:00:58.447 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: /opt/solr
solr_1     | 2017-03-29 08:00:58.605 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2017-03-29T08:00:58.485Z
solr_1     | 2017-03-29 08:00:58.973 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /opt/solr/server/solr
solr_1     | 2017-03-29 08:00:59.010 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /opt/solr/server/solr/solr.xml
solr_1     | 2017-03-29 08:00:59.950 INFO  (main) [   ] o.a.s.c.SolrResourceLoader [null] Added 0 libs to classloader, from paths: []
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created!
solr_1     | 2017-03-29 08:01:02.060 INFO  (main) [   ] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=600000&connTimeout=60000&retry=true
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB
mariadb_1  | 2017-03-29  8:00:36 140258135653192 [Note] InnoDB: Database physically writes the file full: wait...
mariadb_1  | 2017-03-29  8:00:37 140258135653192 [Note] InnoDB: Setting log file ./ib_logfile101 size to 32 MB
solr_1     | 2017-03-29 08:01:02.445 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /opt/solr/server/solr
solr_1     | 2017-03-29 08:01:03.151 INFO  (main) [   ] o.e.j.s.Server Started @11155ms
mariadb_1  | 2017-03-29  8:00:38 140258135653192 [Note] InnoDB: Setting log file ./ib_logfile1 size to 32 MB
mariadb_1  | 2017-03-29  8:00:40 140258135653192 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
pma_1      | 2017-03-29 08:00:43,561 CRIT Supervisor running as root (no user in config file)
pma_1      | 2017-03-29 08:00:43,561 WARN Included extra file "/etc/supervisor.d/nginx.ini" during parsing
pma_1      | 2017-03-29 08:00:43,561 WARN Included extra file "/etc/supervisor.d/php.ini" during parsing
pma_1      | 2017-03-29 08:00:44,266 INFO RPC interface 'supervisor' initialized
pma_1      | 2017-03-29 08:00:44,267 CRIT Server 'unix_http_server' running without any HTTP authentication checking
pma_1      | 2017-03-29 08:00:44,268 INFO supervisord started with pid 1
pma_1      | 2017-03-29 08:00:45,271 INFO spawned: 'php-fpm' with pid 21
pma_1      | 2017-03-29 08:00:45,273 INFO spawned: 'nginx' with pid 22
mariadb_1  | 2017-03-29  8:00:40 140258135653192 [Warning] InnoDB: New log files created, LSN=45883
mariadb_1  | 2017-03-29  8:00:40 140258135653192 [Note] InnoDB: Doublewrite buffer not found: creating new
php_1      | [29-Mar-2017 08:00:42] NOTICE: fpm is running, pid 1
php_1      | [29-Mar-2017 08:00:42] NOTICE: ready to handle connections
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: Doublewrite buffer created
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Warning] InnoDB: Creating foreign key constraint system tables.
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: Foreign key constraint system tables created
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: Creating tablespace and datafile system tables.
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: Tablespace and datafile system tables created.
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB: Waiting for purge to start
mariadb_1  | 2017-03-29  8:00:41 140258135653192 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 0
mariadb_1  | 2017-03-29  8:00:42 140256608049840 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] /usr/bin/mysqld (mysqld 10.1.21-MariaDB) starting as process 79 ...
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Initializing buffer pool, size = 1.0G
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB: Waiting for purge to start
mariadb_1  | 2017-03-29  8:00:47 139835193105224 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1616799
mariadb_1  | 2017-03-29  8:00:47 139833693076144 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] /usr/bin/mysqld (mysqld 10.1.21-MariaDB) starting as process 108 ...
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Initializing buffer pool, size = 1.0G
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB: Waiting for purge to start
mariadb_1  | 2017-03-29  8:00:50 140200996559688 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1616809
mariadb_1  | 2017-03-29  8:00:50 140199496530608 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb_1  | 
mariadb_1  | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
mariadb_1  | To do so, start the server, then issue the following commands:
mariadb_1  | 
mariadb_1  | '/usr/bin/mysqladmin' -u root password 'new-password'
mariadb_1  | '/usr/bin/mysqladmin' -u root -h  password 'new-password'
mariadb_1  | 
mariadb_1  | Alternatively you can run:
mariadb_1  | '/usr/bin/mysql_secure_installation'
mariadb_1  | 
mariadb_1  | which will also give you the option of removing the test
mariadb_1  | databases and anonymous user created by default.  This is
mariadb_1  | strongly recommended for production servers.
mariadb_1  | 
mariadb_1  | See the MariaDB Knowledgebase at http://mariadb.com/kb or the
mariadb_1  | MySQL manual for more instructions.
mariadb_1  | 
mariadb_1  | Please report any problems at http://mariadb.org/jira
mariadb_1  | 
mariadb_1  | The latest information about MariaDB is available at http://mariadb.org/.
mariadb_1  | You can find additional information about the MySQL part at:
mariadb_1  | http://dev.mysql.com
mariadb_1  | Consider joining MariaDB's strong and vibrant community:
pma_1      | 2017-03-29 08:00:47,076 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pma_1      | 2017-03-29 08:00:47,076 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
mariadb_1  | https://mariadb.org/get-involved/
mariadb_1  | 
redis_1    | + gotpl /etc/gotpl/redis.conf.tpl
mariadb_1  | Database initialized
mariadb_1  | 2017-03-29  8:00:53 140213977795400 [Note] mysqld (mysqld 10.1.21-MariaDB) starting as process 135 ...
mariadb_1  | MySQL init process in progress...
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Using mutexes to ref count buffer pool pages
redis_1    | + sed -i /^\s*$/d /etc/redis.conf
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: The InnoDB memory heap is disabled
redis_1    | + exec /usr/local/bin/docker-entrypoint.sh redis-server /etc/redis.conf
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
redis_1    |                 _._                                                  
redis_1    |            _.-``__ ''-._                                             
redis_1    |       _.-``    `.  `_.  ''-._           Redis 3.2.8 (00000000/0) 64 bit
redis_1    |   .-`` .-```.  ```\/    _.,_ ''-._                                   
redis_1    |  (    '      ,       .-`  | `,    )     Running in standalone mode
redis_1    |  |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
redis_1    |  |    `-._   `._    /     _.-'    |     PID: 1
redis_1    |   `-._    `-._  `-./  _.-'    _.-'                                   
redis_1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis_1    |  |    `-._`-._        _.-'_.-'    |           http://redis.io        
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
redis_1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis_1    |  |`-._`-._    `-.__.-'    _.-'_.-'|                                  
redis_1    |  |    `-._`-._        _.-'_.-'    |                                  
redis_1    |   `-._    `-._`-.__.-'_.-'    _.-'                                   
redis_1    |       `-._    `-.__.-'    _.-'                                       
redis_1    |           `-._        _.-'                                           
redis_1    |               `-.__.-'                                               
redis_1    | 
redis_1    | 1:M 29 Mar 08:00:31.402 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
redis_1    | 1:M 29 Mar 08:00:31.402 # Server started, Redis version 3.2.8
redis_1    | 1:M 29 Mar 08:00:31.402 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
redis_1    | 1:M 29 Mar 08:00:31.402 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
redis_1    | 1:M 29 Mar 08:00:31.402 * The server is now ready to accept connections on port 6379
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Traefik version v1.2.0 built on 2017-03-21_09:50:01AM" 
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Using TOML configuration file /dev/null" 
traefik_1  | time="2017-03-29T08:00:33Z" level=debug msg="Global configuration loaded {\"GraceTimeOut\":10,\"Debug\":false,\"CheckNewVersion\":true,\"AccessLogsFile\":\"\",\"TraefikLogsFile\":\"\",\"LogLevel\":\"DEBUG\",\"EntryPoints\":{\"http\":{\"Network\":\"\",\"Address\":\":80\",\"TLS\":null,\"Redirect\":null,\"Auth\":null,\"Compress\":false}},\"Cluster\":null,\"Constraints\":[],\"ACME\":null,\"DefaultEntryPoints\":[\"http\"],\"ProvidersThrottleDuration\":2000000000,\"MaxIdleConnsPerHost\":200,\"InsecureSkipVerify\":false,\"Retry\":null,\"Docker\":{\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false},\"File\":null,\"Web\":{\"Address\":\":8080\",\"CertFile\":\"\",\"KeyFile\":\"\",\"ReadOnly\":false,\"Statistics\":null,\"Metrics\":null,\"Auth\":null},\"Marathon\":null,\"Consul\":null,\"ConsulCatalog\":null,\"Etcd\":null,\"Zookeeper\":null,\"Boltdb\":null,\"Kubernetes\":null,\"Mesos\":null,\"Eureka\":null,\"ECS\":null,\"Rancher\":null}" 
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> Compress:false}" 
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Starting provider *provider.Docker {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false}" 
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Starting provider *main.WebProvider {\"Address\":\":8080\",\"CertFile\":\"\",\"KeyFile\":\"\",\"ReadOnly\":false,\"Statistics\":null,\"Metrics\":null,\"Auth\":null}" 
traefik_1  | time="2017-03-29T08:00:33Z" level=info msg="Starting server on :80" 
traefik_1  | time="2017-03-29T08:00:33Z" level=debug msg="Docker connection established with docker 17.03.0-ce (API 1.26)" 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Compressed tables use zlib 1.2.8
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-mailhog: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-pma: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-solr: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-mariadb-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-php-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-redis-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-traefik-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-mailhog\":{\"servers\":{\"server-test2_mailhog_1\":{\"url\":\"http://172.30.0.8:8025\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-pma\":{\"servers\":{\"server-test2_pma_1\":{\"url\":\"http://172.30.0.6:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-solr\":{\"servers\":{\"server-test2_solr_1\":{\"url\":\"http://172.30.0.9:8983\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-mariadb-1\":{\"servers\":{\"server-test2_mariadb_1\":{\"url\":\"http://172.30.0.7:3306\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-php-1\":{\"servers\":{\"server-test2_php_1\":{\"url\":\"http://172.30.0.5:9000\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-redis-1\":{\"servers\":{\"server-test2_redis_1\":{\"url\":\"http://172.30.0.4:6379\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-traefik-1\":{\"servers\":{\"server-test2_traefik_1\":{\"url\":\"http://172.30.0.3:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-mailhog-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-mailhog\",\"routes\":{\"route-frontend-Host-mailhog-drupal-docker-localhost\":{\"rule\":\"Host:mailhog.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-pma-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-pma\",\"routes\":{\"route-frontend-Host-pma-drupal-docker-localhost\":{\"rule\":\"Host:pma.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-solr-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-solr\",\"routes\":{\"route-frontend-Host-solr-drupal-docker-localhost\":{\"rule\":\"Host:solr.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-mariadb-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-mariadb-1\",\"routes\":{\"route-frontend-Host-test2-mariadb-1\":{\"rule\":\"Host:test2-mariadb-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-php-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-php-1\",\"routes\":{\"route-frontend-Host-test2-php-1\":{\"rule\":\"Host:test2-php-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-redis-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-redis-1\",\"routes\":{\"route-frontend-Host-test2-redis-1\":{\"rule\":\"Host:test2-redis-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-traefik-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-traefik-1\",\"routes\":{\"route-frontend-Host-test2-traefik-1\":{\"rule\":\"Host:test2-traefik-1.\"}},\"passHostHeader\":true,\"priority\":0}}}" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Last docker config received more than 2s, OK" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-mailhog-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-mailhog-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-mailhog-drupal-docker-localhost Host:mailhog.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-mailhog" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Using SSE crc32 instructions
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_mailhog_1 at http://172.30.0.8:8025 with weight 0" 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Initializing buffer pool, size = 1.0G
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Highest supported file format is Barracuda.
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-pma-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-pma-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-pma-drupal-docker-localhost Host:pma.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-pma" 
node_1     | npm info it worked if it ends with ok
node_1     | npm info using npm@4.1.2
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
node_1     | npm info using node@v7.7.4
node_1     | npm info lifecycle Boaty@1.0.0~preinstall: Boaty@1.0.0
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_pma_1 at http://172.30.0.6:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-solr-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-solr-drupal-docker-localhost to entryPoint http" 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB: Waiting for purge to start
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-solr-drupal-docker-localhost Host:solr.drupal.docker.localhost" 
node_1     | npm info linkStuff Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~install: Boaty@1.0.0
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-solr" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1616819
mariadb_1  | 2017-03-29  8:00:54 140212477766320 [Note] InnoDB: Dumping buffer pool(s) not yet started
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_solr_1 at http://172.30.0.9:8983 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-test2-mariadb-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-test2-mariadb-1 Host:test2-mariadb-1." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
node_1     | npm info lifecycle Boaty@1.0.0~postinstall: Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~prepublish: Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~prepare: Boaty@1.0.0
node_1     | npm WARN Boaty@1.0.0 No repository field.
node_1     | npm info ok 
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Warning] 'user' entry 'root@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Warning] 'user' entry '@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Warning] 'proxies_priv' entry '@% root@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] Reading of all Master_info entries succeded
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] Added new Master_info '' to hash table
mariadb_1  | 2017-03-29  8:00:54 140213977795400 [Note] mysqld: ready for connections.
mariadb_1  | Version: '10.1.21-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MariaDB Server
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Warning] 'proxies_priv' entry '@% root@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Warning] 'proxies_priv' entry '@% root@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 
mariadb_1  | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
mariadb_1  | 
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Note] mysqld: Normal shutdown
mariadb_1  | 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_mariadb_1 at http://172.30.0.7:3306 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-test2-php-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-test2-php-1 Host:test2-php-1." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_php_1 at http://172.30.0.5:9000 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-test2-redis-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-test2-redis-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-test2-redis-1 Host:test2-redis-1." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-test2-redis-1" 
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Note] Event Scheduler: Purging the queue. 0 events
mariadb_1  | 2017-03-29  8:00:59 140212477586096 [Note] InnoDB: FTS optimize thread exiting.
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Note] InnoDB: Starting shutdown...
mariadb_1  | 2017-03-29  8:00:59 140212476791472 [Note] InnoDB: Waiting for page_cleaner to finish flushing of buffer pool
mariadb_1  | 2017-03-29  8:01:01 140212476791472 [Note] InnoDB: Shutdown completed; log sequence number 1616829
mariadb_1  | 2017-03-29  8:01:01 140212476791472 [Note] mysqld: Shutdown complete
mariadb_1  | 
mariadb_1  | 
mariadb_1  | MySQL init process done. Ready for start up.
mariadb_1  | 
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] mysqld (mysqld 10.1.21-MariaDB) starting as process 1 ...
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Compressed tables use zlib 1.2.8
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Using Linux native AIO
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Using SSE crc32 instructions
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Initializing buffer pool, size = 1.0G
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Completed initialization of buffer pool
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: 128 rollback segment(s) are active.
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB: Waiting for purge to start
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.34-79.1 started; log sequence number 1616829
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] Plugin 'FEEDBACK' is disabled.
mariadb_1  | 2017-03-29  8:01:01 140483400952496 [Note] InnoDB: Dumping buffer pool(s) not yet started
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] Server socket created on IP: '0.0.0.0'.
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Warning] 'proxies_priv' entry '@% root@423a1c216d1d' ignored in --skip-name-resolve mode.
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] Reading of all Master_info entries succeded
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] Added new Master_info '' to hash table
mariadb_1  | 2017-03-29  8:01:01 140484900981576 [Note] mysqld: ready for connections.
mariadb_1  | Version: '10.1.21-MariaDB'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MariaDB Server
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_redis_1 at http://172.30.0.4:6379 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating frontend frontend-Host-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Wiring frontend frontend-Host-test2-traefik-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating route route-frontend-Host-test2-traefik-1 Host:test2-traefik-1." 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating backend backend-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:34Z" level=debug msg="Creating server server-test2_traefik_1 at http://172.30.0.3:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:34Z" level=info msg="Server configuration reloaded on :80" 
traefik_1  | time="2017-03-29T08:00:35Z" level=warning msg="A new release has been found: 1.2.1. Please consider updating." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Docker event received {Status:start ID:c0b267c6a0fd9e0afb1b1e72b280272d2f8aea6ae72c825c25b7e41cf74f7455 From:wodby/drupal-nginx:7-1.10-2.0.0 Type:container Action:start Actor:{ID:c0b267c6a0fd9e0afb1b1e72b280272d2f8aea6ae72c825c25b7e41cf74f7455 Attributes:map[com.docker.compose.project:test2 com.docker.compose.service:nginx com.docker.compose.version:1.11.2 com.docker.compose.config-hash:6d865b89724560dcc606614a8dc9bfc8a40a53991f0a9fa34ab16f0b35361936 com.docker.compose.container-number:1 name:test2_nginx_1 traefik.backend:nginx traefik.frontend.rule:Host:drupal.docker.localhost traefik.port:80 com.docker.compose.oneoff:False image:wodby/drupal-nginx:7-1.10-2.0.0]} Time:1490774436 TimeNano:1490774436501886421}" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-redis-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-traefik-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-mailhog: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-nginx: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-pma: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-solr: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-mariadb-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-php-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-mailhog\":{\"servers\":{\"server-test2_mailhog_1\":{\"url\":\"http://172.30.0.8:8025\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-nginx\":{\"servers\":{\"server-test2_nginx_1\":{\"url\":\"http://172.30.0.2:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-pma\":{\"servers\":{\"server-test2_pma_1\":{\"url\":\"http://172.30.0.6:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-solr\":{\"servers\":{\"server-test2_solr_1\":{\"url\":\"http://172.30.0.9:8983\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-mariadb-1\":{\"servers\":{\"server-test2_mariadb_1\":{\"url\":\"http://172.30.0.7:3306\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-php-1\":{\"servers\":{\"server-test2_php_1\":{\"url\":\"http://172.30.0.5:9000\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-redis-1\":{\"servers\":{\"server-test2_redis_1\":{\"url\":\"http://172.30.0.4:6379\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-traefik-1\":{\"servers\":{\"server-test2_traefik_1\":{\"url\":\"http://172.30.0.3:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-nginx\",\"routes\":{\"route-frontend-Host-drupal-docker-localhost\":{\"rule\":\"Host:drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-mailhog-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-mailhog\",\"routes\":{\"route-frontend-Host-mailhog-drupal-docker-localhost\":{\"rule\":\"Host:mailhog.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-pma-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-pma\",\"routes\":{\"route-frontend-Host-pma-drupal-docker-localhost\":{\"rule\":\"Host:pma.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-solr-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-solr\",\"routes\":{\"route-frontend-Host-solr-drupal-docker-localhost\":{\"rule\":\"Host:solr.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-mariadb-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-mariadb-1\",\"routes\":{\"route-frontend-Host-test2-mariadb-1\":{\"rule\":\"Host:test2-mariadb-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-php-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-php-1\",\"routes\":{\"route-frontend-Host-test2-php-1\":{\"rule\":\"Host:test2-php-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-redis-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-redis-1\",\"routes\":{\"route-frontend-Host-test2-redis-1\":{\"rule\":\"Host:test2-redis-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-traefik-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-traefik-1\",\"routes\":{\"route-frontend-Host-test2-traefik-1\":{\"rule\":\"Host:test2-traefik-1.\"}},\"passHostHeader\":true,\"priority\":0}}}" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Last docker config received more than 2s, OK" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-drupal-docker-localhost Host:drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-nginx" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_nginx_1 at http://172.30.0.2:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-mailhog-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-mailhog-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-mailhog-drupal-docker-localhost Host:mailhog.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-mailhog" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_mailhog_1 at http://172.30.0.8:8025 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-pma-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-pma-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-pma-drupal-docker-localhost Host:pma.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-pma" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_pma_1 at http://172.30.0.6:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-solr-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-solr-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-solr-drupal-docker-localhost Host:solr.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-solr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_solr_1 at http://172.30.0.9:8983 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-test2-mariadb-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-test2-mariadb-1 Host:test2-mariadb-1." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_mariadb_1 at http://172.30.0.7:3306 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-test2-php-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-test2-php-1 Host:test2-php-1." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_php_1 at http://172.30.0.5:9000 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-test2-redis-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-test2-redis-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-test2-redis-1 Host:test2-redis-1." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-test2-redis-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_redis_1 at http://172.30.0.4:6379 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating frontend frontend-Host-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Wiring frontend frontend-Host-test2-traefik-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating route route-frontend-Host-test2-traefik-1 Host:test2-traefik-1." 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating backend backend-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:36Z" level=debug msg="Creating server server-test2_traefik_1 at http://172.30.0.3:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:36Z" level=info msg="Server configuration reloaded on :80" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Docker event received {Status:start ID:656d3f9fc3f9d75a8d2a23fce756b9658ad017177055096fcffd3b74f4d01039 From:wodby/drupal-varnish:4.1-2.0.0 Type:container Action:start Actor:{ID:656d3f9fc3f9d75a8d2a23fce756b9658ad017177055096fcffd3b74f4d01039 Attributes:map[com.docker.compose.container-number:1 com.docker.compose.oneoff:False com.docker.compose.service:varnish image:wodby/drupal-varnish:4.1-2.0.0 traefik.frontend.rule:Host:varnish.drupal.docker.localhost com.docker.compose.config-hash:f23845775311d90dec5bd9a27c6eff998a1f4b55710e11d10af2c2fdb16d75a4 com.docker.compose.project:test2 com.docker.compose.version:1.11.2 name:test2_varnish_1 traefik.backend:varnish traefik.port:6081]} Time:1490774442 TimeNano:1490774442365116478}" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-pma: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-traefik-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-solr: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-php-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-nginx: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-redis-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-mailhog: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-test2-mariadb-1: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Load balancer method '<nil>' for backend backend-varnish: Invalid method, using default. Using default wrr." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Configuration received from provider docker: {\"backends\":{\"backend-mailhog\":{\"servers\":{\"server-test2_mailhog_1\":{\"url\":\"http://172.30.0.8:8025\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-nginx\":{\"servers\":{\"server-test2_nginx_1\":{\"url\":\"http://172.30.0.2:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-pma\":{\"servers\":{\"server-test2_pma_1\":{\"url\":\"http://172.30.0.6:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-solr\":{\"servers\":{\"server-test2_solr_1\":{\"url\":\"http://172.30.0.9:8983\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-mariadb-1\":{\"servers\":{\"server-test2_mariadb_1\":{\"url\":\"http://172.30.0.7:3306\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-php-1\":{\"servers\":{\"server-test2_php_1\":{\"url\":\"http://172.30.0.5:9000\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-redis-1\":{\"servers\":{\"server-test2_redis_1\":{\"url\":\"http://172.30.0.4:6379\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-test2-traefik-1\":{\"servers\":{\"server-test2_traefik_1\":{\"url\":\"http://172.30.0.3:80\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}},\"backend-varnish\":{\"servers\":{\"server-test2_varnish_1\":{\"url\":\"http://172.30.0.10:6081\",\"weight\":0}},\"loadBalancer\":{\"method\":\"wrr\"}}},\"frontends\":{\"frontend-Host-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-nginx\",\"routes\":{\"route-frontend-Host-drupal-docker-localhost\":{\"rule\":\"Host:drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-mailhog-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-mailhog\",\"routes\":{\"route-frontend-Host-mailhog-drupal-docker-localhost\":{\"rule\":\"Host:mailhog.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-pma-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-pma\",\"routes\":{\"route-frontend-Host-pma-drupal-docker-localhost\":{\"rule\":\"Host:pma.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-solr-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-solr\",\"routes\":{\"route-frontend-Host-solr-drupal-docker-localhost\":{\"rule\":\"Host:solr.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-mariadb-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-mariadb-1\",\"routes\":{\"route-frontend-Host-test2-mariadb-1\":{\"rule\":\"Host:test2-mariadb-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-php-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-php-1\",\"routes\":{\"route-frontend-Host-test2-php-1\":{\"rule\":\"Host:test2-php-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-redis-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-redis-1\",\"routes\":{\"route-frontend-Host-test2-redis-1\":{\"rule\":\"Host:test2-redis-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-test2-traefik-1\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-test2-traefik-1\",\"routes\":{\"route-frontend-Host-test2-traefik-1\":{\"rule\":\"Host:test2-traefik-1.\"}},\"passHostHeader\":true,\"priority\":0},\"frontend-Host-varnish-drupal-docker-localhost\":{\"entryPoints\":[\"http\"],\"backend\":\"backend-varnish\",\"routes\":{\"route-frontend-Host-varnish-drupal-docker-localhost\":{\"rule\":\"Host:varnish.drupal.docker.localhost\"}},\"passHostHeader\":true,\"priority\":0}}}" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Last docker config received more than 2s, OK" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-drupal-docker-localhost Host:drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-nginx" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_nginx_1 at http://172.30.0.2:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-mailhog-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-mailhog-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-mailhog-drupal-docker-localhost Host:mailhog.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-mailhog" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_mailhog_1 at http://172.30.0.8:8025 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-pma-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-pma-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-pma-drupal-docker-localhost Host:pma.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-pma" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_pma_1 at http://172.30.0.6:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-solr-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-solr-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-solr-drupal-docker-localhost Host:solr.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-solr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_solr_1 at http://172.30.0.9:8983 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-test2-mariadb-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-test2-mariadb-1 Host:test2-mariadb-1." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-test2-mariadb-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_mariadb_1 at http://172.30.0.7:3306 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-test2-php-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-test2-php-1 Host:test2-php-1." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-test2-php-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_php_1 at http://172.30.0.5:9000 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-test2-redis-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-test2-redis-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-test2-redis-1 Host:test2-redis-1." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-test2-redis-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_redis_1 at http://172.30.0.4:6379 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-test2-traefik-1 to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-test2-traefik-1 Host:test2-traefik-1." 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-test2-traefik-1" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_traefik_1 at http://172.30.0.3:80 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating frontend frontend-Host-varnish-drupal-docker-localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Wiring frontend frontend-Host-varnish-drupal-docker-localhost to entryPoint http" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating route route-frontend-Host-varnish-drupal-docker-localhost Host:varnish.drupal.docker.localhost" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating backend backend-varnish" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating load-balancer wrr" 
traefik_1  | time="2017-03-29T08:00:42Z" level=debug msg="Creating server server-test2_varnish_1 at http://172.30.0.10:6081 with weight 0" 
traefik_1  | time="2017-03-29T08:00:42Z" level=info msg="Server configuration reloaded on :80"

(also noticed that node services does not appear in Traefik dashboard)

pprishchepa commented 7 years ago

@MXTcomunica please share logs docker-compose logs node and docker-compose logs solr.

pifagor87 commented 7 years ago

@PavelPrischepa docker-compose logs traefik Attaching to drupal_traefik_1 traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Traefik version v1.2.0 built on 2017-03-21_09:50:01AM" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Using TOML configuration file /dev/null" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> Compress:false}" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Starting provider *provider.Docker {\"Watch\":true,\"Filename\":\"\",\"Constraints\":null,\"Endpoint\":\"unix:///var/run/docker.sock\",\"Domain\":\"\",\"TLS\":null,\"ExposedByDefault\":true,\"UseBindPortIP\":false,\"SwarmMode\":false}" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Starting provider *main.WebProvider {\"Address\":\":8080\",\"CertFile\":\"\",\"KeyFile\":\"\",\"ReadOnly\":false,\"Statistics\":null,\"Metrics\":null,\"Auth\":null}" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Starting server on :80" traefik_1 | time="2017-04-04T13:15:02Z" level=info msg="Server configuration reloaded on :80" traefik_1 | time="2017-04-04T13:15:03Z" level=warning msg="A new release has been found: 1.2.1. Please consider updating." traefik_1 | time="2017-04-04T13:15:05Z" level=info msg="Server configuration reloaded on :80" docker-compose.yml `version: "2"

services: mariadb: image: wodby/mariadb:10.1-2.0.0 environment: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: drupal MYSQL_USER: drupal MYSQL_PASSWORD: drupal

php: image: wodby/drupal-php:7.0 environment: PHP_SENDMAIL_PATH: /usr/sbin/sendmail -t -i -S mailhog:1025 volumes:

ifconfig `$ ifconfig br-8b036b8a3a99 Link encap:Ethernet HWaddr 02:42:6c:1d:70:0d
inet addr:172.20.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 inet6 addr: fe80::42:6cff:fe1d:700d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:648 errors:0 dropped:0 overruns:0 frame:0 TX packets:677 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1997695 (1.9 MB) TX bytes:153992 (153.9 KB)

br-c4d460bc0fce Link encap:Ethernet HWaddr 02:42:e1:f3:86:ba
inet addr:172.18.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

br-cf1fb08247d1 Link encap:Ethernet HWaddr 02:42:34:38:2a:05
inet addr:172.19.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

docker0 Link encap:Ethernet HWaddr 02:42:48:1d:9e:5d
inet addr:172.17.0.1 Bcast:0.0.0.0 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr b8:97:5a:14:2b:4d
inet addr:192.168.21.124 Bcast:192.168.21.255 Mask:255.255.255.0 inet6 addr: fe80::ba97:5aff:fe14:2b4d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:299127 errors:0 dropped:0 overruns:0 frame:0 TX packets:154314 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:441762182 (441.7 MB) TX bytes:10873629 (10.8 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:10408 errors:0 dropped:0 overruns:0 frame:0 TX packets:10408 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3590728 (3.5 MB) TX bytes:3590728 (3.5 MB)

veth4727619 Link encap:Ethernet HWaddr 72:07:1f:62:df:38
inet6 addr: fe80::7007:1fff:fe62:df38/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20 errors:0 dropped:0 overruns:0 frame:0 TX packets:123 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15584 (15.5 KB) TX bytes:16455 (16.4 KB)

veth9266947 Link encap:Ethernet HWaddr 9a:d8:75:d1:97:7b
inet6 addr: fe80::98d8:75ff:fed1:977b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:83 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:648 (648.0 B) TX bytes:10282 (10.2 KB)

veth02b1c50 Link encap:Ethernet HWaddr 52:2f:9a:5e:b5:11
inet6 addr: fe80::502f:9aff:fe5e:b511/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:362 errors:0 dropped:0 overruns:0 frame:0 TX packets:496 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:327608 (327.6 KB) TX bytes:137280 (137.2 KB)

veth54182dc Link encap:Ethernet HWaddr 06:5e:be:eb:b7:95
inet6 addr: fe80::45e:beff:feeb:b795/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:117 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:648 (648.0 B) TX bytes:14471 (14.4 KB)

veth6ea8382 Link encap:Ethernet HWaddr 4a:36:b4:68:9a:e8
inet6 addr: fe80::4836:b4ff:fe68:9ae8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:42 errors:0 dropped:0 overruns:0 frame:0 TX packets:86 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9583 (9.5 KB) TX bytes:23967 (23.9 KB)

vethfebce1b Link encap:Ethernet HWaddr ca:b5:53:17:de:9c
inet6 addr: fe80::c8b5:53ff:fe17:de9c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:235 errors:0 dropped:0 overruns:0 frame:0 TX packets:309 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1670390 (1.6 MB) TX bytes:32046 (32.0 KB) `

parijke commented 7 years ago

Got exactly the same situation here!

csandanov commented 7 years ago

@parijke what is your OS? Do you use something specific like docker-machine or running docker in VM?

csandanov commented 7 years ago

For those who have problems with traefik – try running traefik stand-alone as described in multiple project instructions, see if anything changes, it might help with troubleshooting.

MXTcomunica commented 7 years ago

@PavelPrischepa :

$ docker-compose logs node
Attaching to test2_node_1
node_1     | npm info it worked if it ends with ok
node_1     | npm info using npm@4.1.2
node_1     | npm info using node@v7.7.4
node_1     | npm info lifecycle Boaty@1.0.0~preinstall: Boaty@1.0.0
node_1     | npm info linkStuff Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~install: Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~postinstall: Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~prepublish: Boaty@1.0.0
node_1     | npm info lifecycle Boaty@1.0.0~prepare: Boaty@1.0.0
node_1     | npm WARN Boaty@1.0.0 No repository field.
node_1     | npm info ok 

and:

$ docker-compose logs solr
Attaching to test2_solr_1
solr_1     | 2017-04-12 07:29:37.851 INFO  (main) [   ] o.e.j.s.Server jetty-9.3.14.v20161028
solr_1     | 2017-04-12 07:29:39.438 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter  ___      _       Welcome to Apache Solr™ version 6.4.1
solr_1     | 2017-04-12 07:29:39.439 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _   Starting in standalone mode on port 8983
solr_1     | 2017-04-12 07:29:39.439 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_|  Install dir: /opt/solr
solr_1     | 2017-04-12 07:29:39.571 INFO  (main) [   ] o.a.s.s.SolrDispatchFilter |___/\___/_|_|    Start time: 2017-04-12T07:29:39.468Z
solr_1     | 2017-04-12 07:29:39.777 INFO  (main) [   ] o.a.s.c.SolrResourceLoader Using system property solr.solr.home: /opt/solr/server/solr
solr_1     | 2017-04-12 07:29:39.815 INFO  (main) [   ] o.a.s.c.SolrXmlConfig Loading container configuration from /opt/solr/server/solr/solr.xml
solr_1     | 2017-04-12 07:29:41.623 INFO  (main) [   ] o.a.s.c.SolrResourceLoader [null] Added 0 libs to classloader, from paths: []
solr_1     | 2017-04-12 07:29:44.824 INFO  (main) [   ] o.a.s.u.UpdateShardHandler Creating UpdateShardHandler HTTP client with params: socketTimeout=600000&connTimeout=60000&retry=true
solr_1     | 2017-04-12 07:29:45.223 INFO  (main) [   ] o.a.s.c.CorePropertiesLocator Found 0 core definitions underneath /opt/solr/server/solr
solr_1     | 2017-04-12 07:29:45.718 INFO  (main) [   ] o.e.j.s.Server Started @11592ms
solr_1     | 2017-04-12 07:32:00.173 INFO  (qtp834133664-16) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/cores params={indexInfo=false&wt=json&_=1491982318516} status=0 QTime=137
solr_1     | 2017-04-12 07:32:00.360 INFO  (qtp834133664-13) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/info/system params={wt=json&_=1491982318518} status=0 QTime=311
solr_1     | 2017-04-12 07:32:00.390 INFO  (qtp834133664-11) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/info/system params={wt=json&_=1491982318518} status=0 QTime=347
MXTcomunica commented 7 years ago

@csandanov I'm also trying what you have suggested in https://github.com/wodby/docker4drupal/issues/117#issuecomment-293246475 , but... I don't understand what to write in "external > name".

I wrote this traefik.yml:

version: '2'

services:
  traefik:
    image: traefik
    restart: unless-stopped
    command: -c /dev/null --web --docker --logLevel=DEBUG
    networks:
      - test2
#      - project2
    ports:
      - '80:80'
      - '8080:8080'
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

networks:
  test2:
    external: 
      name: test2dir_default
#  project2:
#    external:
#      name: project2-dir_default

but trigger this error:

$ docker-compose -f traefik.yml up -d
ERROR: Network test2dir_default declared as external, but could not be found. Please create the network manually using `docker network create test2dir_default` and try again.

What is wrong?

csandanov commented 7 years ago

@MXTcomunica you should specify the network of the project (by default docker name it as [NAME OF DIRECTORY WITH THE COMPOSE FILE]_default. Run docker network ls to list networks.

MXTcomunica commented 7 years ago

Thank you @csandanov only one thing: WHERE I have to place traefik.yml ? Within the project folder that already has docker-compose.yml (I suppose no) or in a new "traefik" general external folder ?

csandanov commented 7 years ago

@MXTcomunica wherever you want, just specify the path to the file via -f /path/to/traefik.yml as said in instructions

csandanov commented 7 years ago

@MXTcomunica where you managed to run d4d with a stand-alone traefik?

thegreenbot commented 7 years ago

I have been having a similar issue with the standalone traefik container.

For some reason, Chrome can properly resolve my local sites, but ONLY chrome. Weird.

Placing the domains into my /etc/hosts file does cause the other browsers to resolve properly, but I thought traefik was handling this without the need to modify the /etc/hosts file.

I'm on Mac OSX 10.12.4.

I have no errors running my containers, and I believe I've followed the instructions properly.

martin-ro commented 7 years ago

Same goes for me. Does not work in FF or Safari but does in Chrome.

massimodeluisa commented 7 years ago

same for me @martin-ro.

csandanov commented 7 years ago

Guys, can someone post a question about localhost subdomain available only from chrome on StackOverflow with more details? Please post a link here. Perhaps it's a known behavior and we should update our docs accordingly. Thank you.

MXTcomunica commented 7 years ago

UPDATE 1: @csandanov : yes, I tried with a standalone traefik but does not resolve.

UPDATE 2: Get a lot of errors trying to pulling new images, e.g.:

docker-compose up -d
Creating network "myproject_default" with the default driver
Pulling redis (wodby/redis:3.2-2.1.0)...
ERROR: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 127.0.1.1:53: read udp 127.0.0.1:36043->127.0.1.1:53: i/o timeout

And after that I cannot reach any Web url (e.g. www.google.com) from my browser within the VM, until I do docker-compose down.

So googleing around I found that I can act on /etc/resolv.conf in my ubuntu (the guest OS within the VirtualBox VM running on a windows 10 host):

ubuntu puts something like: nameserver 127.0.1.1 and then handles the DNS requests through some service. The problem is, that this is accessible from inside of the image.

To fix this, I had to add some external nameservers, like: nameserver 127.0.1.1 nameserver 8.8.8.8 nameserver 8.8.4.4

(found here: http://stackoverflow.com/questions/24060099/how-to-fix-dockers-error-pulling-image-too-many-redirects-failures-while-pu)

Doing the above, images can now be pulled without any error and other url requests works as well.

Then, to reach d4d domains I have to add this to my /etc/hosts (always in ubuntu):

# Docker4Drupal
127.0.0.1       drupal.docker.localhost
127.0.0.1       pma.drupal.docker.localhost
127.0.0.1       mailhog.drupal.docker.localhost
127.0.0.1       solr.docker.localhost
127.0.0.1       front.drupal.docker.localhost
127.0.0.1       varnish.drupal.docker.localhost

And all works (except for solr that returns 404, as described some posts above)

I don't know if this is only a (ugly) workaround... May be you guys (more skilled than me in this land) can investigate solutions linked to /etc/default/docker, e.g:

# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"
export http_proxy='http://<host>:<port>'

or

# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"

(ref: http://stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy)

or try to change Virtualbox network settings to see if docker4drupal can works as is and out of the box simply changing that settings from NAT to Bridged networking or some others from the availables... (ref: https://www.virtualbox.org/manual/ch06.html )

Thank you