Hello,
I have been trying to run the Discourse Docker image on ECS (container service in AWS) for more than a week already so I thought of reaching out here for advise. When trying on my standalone EC2 server, Discourse is running fine. I created a separate PostgreSQL RDS instance and ElastiCache for Redis cluster for this.
To deploy in ECS, I push the created image to the ECR registry. Then, I create a task that pulls that image. Expected result is it should run the Discourse container (that’s working on my standalone EC2 server, also stopped the running container there). However, I just get Exit Code 1 errors.
I also observed the ./launcher start app command and it outputs a lot of “-e” which is already in app.yml. Are there any further “run” commands that must be done on ECS?
I have read this but I may just be missing a simple point: Can Discourse ship frequent Docker images that do not need to be bootstrapped?
Thank you!