I’ve been trying to get my head around how Redash works in order to deploy on AWS using EC2 instances. I’m following the instructions for using the
docker-compose.production.yml (which work perfectly now on my local machine). I have the below doubts and would be greatly appreciated for some who cared to help me with the steep learning curve:
(1) However, I don’t know how to get past the need to run the command
docker-compose -f docker-compose.production.yml run -rm server create_db since AWS doesn’t give us the option of doing so. Any suggestions on how to achieve this?
(2) In the production file you suggest changing the Postgres password… but where? And where do we feed it to the Redash Server instance so it knows which password to use? I’ve tried the format
postgresql://user:password@ip:port/database but it gives out a Format error when “composing up” (only tried this at local level).