Docker installation failed at postgres_data and 502 afterwards #287
-
After running
I am still trying to find where the postgres_data is .. there is no documentation, also no updates about this folder. why is it showing outside of root directory in docker-compose.yaml
but inside the root directory in gitignore
and again outside the root directory in docker-compose-dev
again inside the root directory in. docker-compose-named-volumes.yaml
Moreover, I manually created it and got it worked but
Please guide. I am using MacOS BigSur V: 11.4 (20F71) |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
yup.. Release note is fine.. at least it will help newcomers to get clarity over the purpose. |
Beta Was this translation helpful? Give feedback.
-
Which compose file did you use in this case? |
Beta Was this translation helpful? Give feedback.
-
The default one |
Beta Was this translation helpful? Give feedback.
-
Are all the micro-services running? Whats the output of |
Beta Was this translation helpful? Give feedback.
-
Yes, all 6 are running fine, but the 502 gateway issue still persists. Here is the output.
|
Beta Was this translation helpful? Give feedback.
-
Hi @Rajan4436 , thanks for raising this, I see the inconsistency issue with the docker-compose files too, but not sure whether postgres_data is better to be inside or outside the code directory... For the 502 error, this seems to be producing it
and according to https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html you have to increase the buffer-size Edit
and restart the web container
as a quick fix, this value might be tunned and perhaps replace the default one on the project too. Give it a try and let us know if it works |
Beta Was this translation helpful? Give feedback.
-
why i have the same problem,but my uwsgi.ini is right ! chdir = /home/mediacms.io/mediacms/ uid=www-data processes = 2 master = true socket = 127.0.0.1:9000 workers = 2 vacuum = true hook-master-start = unix_signal:15 gracefully_kill_them_all |
Beta Was this translation helpful? Give feedback.
Hi @Rajan4436 , thanks for raising this, I see the inconsistency issue with the docker-compose files too, but not sure whether postgres_data is better to be inside or outside the code directory...
For the 502 error, this seems to be producing it
and according to https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html you have to increase the buffer-size
Edit
deploy/docker/uwsgi.ini
,appendand restart the web container
as a quick fix, this value might be tunned and perhaps replace the default one on the project too. Give it a try and let us know if it works