What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello everyone, Tried to use Spryker Docker SDK (on Mac with Docker desktop). The environment start
Hello everyone,
Tried to use Spryker Docker SDK (on Mac with Docker desktop). The environment started, I see containers are running. I've also added entries to hosts file. Unfortunately, when I try to visit any shop url, I only see nginx welcome page π.
Does anyone has any ideas what I might have missed?
Comments
-
π€ that's a new one. What urls are you visiting?
0 -
Zed.de.spryker.local or yves.de.spryker.local or queue.spryker.local
0 -
Basically any url that was added to hosts file, as a copy paste from recommendation while setting up the dev env.
0 -
do you have any other docker setup running?
0 -
is there anything else that might intercept the requests?
0 -
No, at the moment its just Spryker b2c demo
0 -
Gateway container logs show the output. So it seems that for some reason it does not forward the requests π€
0 -
can you reach thee yves/zed/glue containers from within the gateway container?
0 -
Dumb question, but what is the right way to access docker containers when using spryker docker sdk?
0 -
Or there is no "righter" way than just plain ol' docker exec...?
0 -
If I try to ping any of running services say spryker_b2c_dev_yves_us_1 or any other, it works
0 -
i would go with the plain docker commands, as you probably just did. saw a lot of people using familiar tools like rancher or so. after all the sdk is just a wrapper for docker-compose
0 -
can you try to curl (probably not available on the gateway container?)
0 -
Iβve installed curl, tried to run and got,
curl <http://spryker_b2c_dev_zed_us_1> curl: (7) Failed to connect to spryker_b2c_dev_zed_us_1 port 80: Connection refused # also url spryker_b2c_dev_zed_us_1:9000 curl: (56) Recv failure: Connection reset by peer
0 -
ping spryker_b2c_dev_zed_us_1 PING spryker_b2c_dev_zed_us_1 (172.24.0.14): 56 data bytes 64 bytes from 172.24.0.14: seq=0 ttl=64 time=1.153 ms 64 bytes from 172.24.0.14: seq=1 ttl=64 time=0.184 ms
0 -
what is interesting is that I donβt seem to find any relevant nginx configurations π€
0 -
so to me it looks that none of nginx configurations were generated
0 -
@UJN2JRU4F, do you know if there is a way to somehow rebuild nginx?
0 -
I rebuild everything, but still the configuration that is defined in the template is just in the template. conf.d/default.conf is really default and there are no other conf files
0 -
@UJN2JRU4F so I can confirm, that in gateway nginx doesnβt have any configurations, the
default.conf
is trully default0 -
I asked my colleague to check his environment. He has an older version where
rpc_server
was used instead ofgateway
. In his setup,default.conf
has proper content0 -
the build process runs w/o any errors
0 -
hm, unfortunately @ULYHPR789 is not available today
0 -
I assume you could have nginx running locally on the host so requests do not go into the docker
0 -
But they do go, gateway container logs output the access log entry every time I visit one of the addresses
0 -
What about the frontend container? Or it stops in the gateway?
0 -
Yep it stops there. As i said default.conf in gateway does not contain any configurations that are defined in the template
0 -
What version of docker/sdk do you use?
0 -
It has nginx defaults inside, I assume this is the problem
0 -
Latest master
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random