Does the Docker method just work for everyone? Doesn't for me. #15915
Unanswered
amityweb
asked this question in
Deployment
Replies: 2 comments 2 replies
-
Did you checked Saleor Platform it always work for me also i have a slightly modified version of saleor-platform, i meant it to be a production ready docker-compose setup Saleor Stack |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think its working for me OK when I use Saleor Platform, and I expected something visible to happen when I typed "docker compose build" but nothing did. But if I proceed with the instructions it seems work then. I guess the issue above was I was only using Saleor Core but expected the database to be setup inside also? Maybe its not. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Update: I have reported this as a bug #15916
I try to avoid Docker because over the years, every single time I use it it has some sort of errors I need to fix and it can me longer to fix them than if I were to set an app up without Docker.
Unfortunately with Saleor I am having a real hard time. I did deploy Saleor direct to Heroku last year by connecting Heroku to my Github fork. I use to update it that way and it always worked.
Now when I update it it breaks. Saleor say they dont support Heroku anymore, its Docker.
I dont know how to can migrate my app to Docker, it throws errors when I try, so I thought I would start from scratch.
The first hurdle is that "docker compose build" as per the instructions on this page https://docs.saleor.io/docs/3.x/setup/docker-compose throws a version error and stops. Removing the version line then it just does nothing. Absolutely nothing.
Verbose output just says:
DEBU[0000] Enabled Docker Desktop integration (experimental) @ unix:///Users/me/Library/Containers/com.docker.docker/Data/docker-cli.sock
So instead of building from the files from Github, within Docker I search for Saleor in the repos there and find the mirumee/saleor one and it does download and builds the image OK. I do have to specify a port when I run it, else there is no port assigned and localhost does not work. When I assign a custom port it works.
But when i run it, the webpage and logs show the following error in that it cannot connect to port 5432 (I think postgres)
The logs show this:
Beta Was this translation helpful? Give feedback.
All reactions