-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed successfully, can not find IPs #48
Comments
It is running, but can not access it. |
Seems like you have newer version of Docker (looks like MacOS) which doesn't need Docker Machine anymore. Can you run |
Thank you for quick response. Appreciate. I have Ubuntu 18.04.3 LTS Here is output of docker-compose ps
|
Hi. The default The reason why you can't access the service is that The one setting important for you is
which exposes the services at port |
I build clean remp from clean clone and set-up yml file "docker-compose.override.yml" by your recommendation. No luck. all docker images is running, all successfully installed. Problem preserve. |
Here is my complete output: ~/Apps/remp$ docker-compose up During handling of the above exception, another exception occurred: Traceback (most recent call last): beam_1 | - Installing symfony/http-foundation (v4.4.1): Downloading Downloading (100%) |
docker-compose.override.yml version: "3"
services:
nginx:
environment:
NGINX_PORT: "80"
ports:
- "80:80"
campaign:
environment:
XDEBUG_CONFIG: "remote_host=172.17.0.1" # find the ip of your host machine within docker network
# add these volumes only after initial installation (containers would override each others cache otherwise)
#volumes:
# - "/home/user/.cache/composer:/composer:rw"
# - "/home/user/.cache/yarn:/yarn:rw"
mailer:
environment:
XDEBUG_CONFIG: "remote_host=172.17.0.1" # find the ip of your host machine within docker network
# add these volumes only after initial installation (containers would override each others cache otherwise)
#volumes:
# - "/home/user/.cache/composer:/composer:rw"
# - "/home/user/.cache/yarn:/yarn:rw"
beam:
environment:
XDEBUG_CONFIG: "remote_host=172.17.0.1" # find the ip of your host machine within docker network
# add these volumes only after initial installation (containers would override each others cache otherwise)
#volumes:
# - "/home/user/.cache/composer:/composer:rw"
# - "/home/user/.cache/yarn:/yarn:rw"
sso:
environment:
XDEBUG_CONFIG: "remote_host=172.17.0.1" # find the ip of your host machine within docker network
# add these volumes only after initial installation (containers would override each others cache otherwise)
#volumes:
# - "/home/user/.cache/composer:/composer:rw"
# - "/home/user/.cache/yarn:/yarn:rw" |
|
My eye is on NGINX. |
Yeah, something might be wrong there. Maybe something else is already running on port 80 on your machine? Can you run |
Output:
|
Status of apache2
|
Oh, the port 80 is now duplicated in nginx configuration that's being passed into the container because of the environment variable. Can you please try to use |
docker-compose.override.yml
|
Yep, that could work. Nginx is running on port 80 inside the container all the time (due to inter-container communication), this will only tell that it will listen on port 8000 which you'll never need to use. (hotfix) After this change, if you stop docker compose and start it again, the nginx should stop restarting. |
Thank you for excellent collaboration.
I logged-in with google account and tried servers. Everything works except these:
|
Those two should be Go-based APIs. Can you paste logs from one of those services?
|
beam_tracker log beam_tracker_1 | 2020/01/16 10:55:23 Waiting for: tcp://kafka:2181 |
It looks like it was just waiting for the first kafka initialization, can you check now? (the logs indicate that in the end it started successfully) |
Access denied. Problem persist. |
That host is just an API, you need to hit specific URL to get successful response. Can you try these? They're swagger specs of the APIs.
|
I have tried to see response of those jsons, no resposponse. Others work, except those two. Output: |
My bad, there was a typo.. Let's try it again:
|
tracker { |
segments { |
Yep, that's what you should see. It's a Swagger API definition file. You don't need to interact with these hosts directly, they're just necessary for other services to function properly. It seems that everything is running now. |
Thank you for excellent support. |
docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
34e81448e31c remp_mailer "docker-php-entrypoi…" About an hour ago Up 17 minutes 9000/tcp remp_mailer_1
7ac30b692f10 remp_beam "docker-php-entrypoi…" About an hour ago Up 17 minutes 9000/tcp remp_beam_1
434a2003ef7f remp_sso "docker-php-entrypoi…" About an hour ago Up 17 minutes 9000/tcp remp_sso_1
be467a7de640 remp_campaign "docker-php-entrypoi…" About an hour ago Up 17 minutes 9000/tcp remp_campaign_1
46e69431a66e remp_telegraf "/entrypoint.sh dock…" About an hour ago Up 17 minutes 8092/udp, 8125/udp, 8094/tcp remp_telegraf_1
514ad03317b2 remp_beam_segments "dockerize -timeout …" About an hour ago Up 17 minutes remp_beam_segments_1
85be46103b9e remp_beam_tracker "dockerize -timeout …" About an hour ago Up 17 minutes remp_beam_tracker_1
91bc55752e13 nginx:stable "/bin/bash -c 'envsu…" About an hour ago Up 17 minutes 80/tcp remp_nginx_1
4536238103f7 remp_kafka "./kafka-start.sh" About an hour ago Up 17 minutes 2181/tcp, 9092/tcp remp_kafka_1
5921b84d326c redis:3.2 "docker-entrypoint.s…" About an hour ago Up 17 minutes 6379/tcp remp_redis_1
d98c0fc0eab3 mailhog/mailhog:v1.0.0 "MailHog" About an hour ago Up 17 minutes 1025/tcp, 8025/tcp remp_mailhog_1
34c7c48908a8 docker.elastic.co/kibana/kibana:6.2.2 "/bin/bash /usr/loca…" About an hour ago Up 17 minutes 5601/tcp remp_kibana_1
5690e8ded527 remp_elasticsearch "/usr/local/bin/dock…" About an hour ago Up 17 minutes 9200/tcp, 9300/tcp remp_elasticsearch_1
7d9309c85dd4 mysql:5.7 "docker-entrypoint.s…" About an hour ago Up 17 minutes 3306/tcp, 33060/tcp remp_mysql_1
7f8839693af3 remp_adminer "docker-php-entrypoi…" About an hour ago Up 17 minutes 9000/tcp remp_adminer_1
The text was updated successfully, but these errors were encountered: