-
Notifications
You must be signed in to change notification settings - Fork 17
docker-compose community site can't reached #16
Comments
Looks like you haven't started the |
Thanks for your response, I use git bash on windows machine. I follow the step 6, but the bash command return won't recognize the "IP" command. The instructions commands on INSTALL.md can't run on windows git bash command. Questions:
|
This repository is not ready for Windows, it's prepared for the Linux and Mac only. |
Thank you for your quick response, let me try on Mac later today and back to you. |
I tried in Mac, found similar issue. Here's my running containers :
The IP addresses are displaying - 0.0.0.0. In my Mac resolv.conf files are reading following IP address: Do you suggest I should update 0.0.0.0 on resolv.conf? |
that means the 53 port is bound to the localhost:53.
use 127.0.0.1 |
Thanks Andrey, will let you know after update : nameserver 127.0.0.1 on resolve.conf file. |
I add 127.0.0.1 on System Preferences > Network > Advanced > DNS and run command to verify docker dns : host dns-gen.docker it return: Then type url : http://webserver.sokpacrm.docker/ on browser, its keeping connecting webserver for a while and display message : webserver.sokpacrm.docker took too long to respond. And type command on terminal : nslookup webserver.sokpacrm.docker When I ping 172.18.0.10 and webserver.sokpacrm.docker, it's display a message - Request timeout for icmp_seq 0 Any suggestion? |
I wonder instruction mention for Mac installation relevant with Desktop for Mac? Local machine Mac for docker is: Docker version 18.09.2, build 6247962. Is it necessary to run dns-gen on desktop for Mac? |
Sorry for a long response. Docker is not so popular in our team and looks like no one uses this Docker setup on a Mac because it is slow and in another hand, it's easy to configure fast local environment on a Mac with I had some time to investigate an issue locally. When you work with the single instance, you can simplify the flow and map ports from the docker containers to the localhost. You have to expose 8080 port from At the same time, you can force mappings for a port in localhost with the docker-compose to use 80 for web server and 8080 for WebSocket, so the website will be accessed from http://localhost. And also you can map a custom domain to the localhost by editing I was not able to setup dns-gen locally on mac yet. Will let you know when finding how to deal with it. The instruction in this repo says only how to start the containers with ready environment, and how to run tests on them. So when you open the port in localhost directly or the mapped with dns gen domain you will see just a page with PHP error. It means the docker containers started properly, at least nginx and PHP, but the application is not ready. Then install it first by following this instruction the To run commands inside a container you can use standard docker approach, like
I noticed that our docker-containers affected with this bug oroinc/platform#912 and it is required to patch the vendors before an installation. It will be fixed in the next patch release - 3.1.8. I'm working on a complete step-by-step instruction, as the current one is not really useable for newcomers. Will update an issue when it's finished. |
Hi,
I download community edition OroCRM 3.1 on my local machine and change a folder name democrm. Then, I clone the environment on local machine. And I follow the instruction as mention here : https://github.com/oroinc/environment/blob/master/doc/ADVANCED_USAGE.md
I use git bash terminal for command line:
export ORO_APP=/c/phpworkspace/democrm
export SYMFONY_ENV=dev
docker-compose -p democrm -f /c/phpworkspace/environment-master-oro/php71_nginx_mysql_full_ce.yml up -d
Creating network "democrm_default" with the default driver
Creating democrm_mail_1 ... done
Creating democrm_data_1 ... done
Creating democrm_composer_1 ... done
Creating democrm_database_1 ... done
Creating democrm_php_1 ... done
Creating democrm_consumer_1 ... done
Creating democrm_websocket_1 ... done
Creating democrm_cron_1 ... done
Creating democrm_webserver_1 ... done
The docker-compose run successfully; however, when I type http://webserver.democrm.docker/ on browser its display : This site can’t be reached
I wonder which steps went wrong or missed, appreciate if you could share your experience to sorted out the issue.
The text was updated successfully, but these errors were encountered: