Deploying Multi Container Flask App with Docker & Travis CI on AWS Elastic Beanstalk

5 / 9

Building flask redis postgres multi container app | Deploy Multi-Container App on AWS




Not able to play video? Try with vimeo

INSTRUCTIONS

Please login to comment

14 Comments

its the same error when i use finished Project Source Code : Role "hello_flask" does not exist.

 

  Upvote    Share

Can you please let me know in which step are you facing this error?

  Upvote    Share

is there some step missing ? for creating the Role/ User hello_flask ? 

  Upvote    Share

Can you please let me know in which step are you facing this error?

  Upvote    Share

 failed: FATAL:  password authentication failed for user "hello_flask"

  Upvote    Share

Hello,

Can you please let me know in which step are you facing this error?

I could successfully build the image and run containers.

 1  Upvote    Share

are you using this code ?

https://github.com/cloudxlab/user-wishlist-app.git

 

its when she tries to display if a user and entries exists . She is running docker-compose down && docker-compose up --build .

 

maybe its the version ?

  Upvote    Share

docker-compose up --build is used to build the image and run the containers. docker-compose down is for tearing down the running containers.

I used the above code from Git repo and I was successfully able to run containers with docker-compose up --build. If you are facing the problem after you are accessing the web application on the browser then welcome to the world of DevOps. You will have to fix the application code then.

 

  Upvote    Share

 

 1  Upvote    Share

So the problem is coming when you are accessing the webapplication in the browser and not when you are running containers with the help of docker-compose up --build?

  Upvote    Share

its coming when i do docker-compose down && docker-compose up --build 

  Upvote    Share

from where are you runing the command ? your on what system ? are you on windows 10 ? what versions of the dependencies are you using ? 

  Upvote    Share