Unable to run the Mendix app docker image in ECS Fargate on AWS cloud.

0
We ran MYSQL client services on container which is running fine. We are training to run mendix app image on separate container with in the same private container where mysql container is running. But we are unable to maintain the running state. where we are getting error. Below are the environment variables we have set for mendix container. DATABASE_ENDPOINT MYSQL_DATABASE MYSQL_ROOT_PASSWORD MYSQL_USER_NAME MYSQL_PASSWORD Below are errors are getting while executing the AWS ECS fargare task. ERROR: Starting application failed: Can't find database configuration from environment variables. Check README for supported configuration options [System] [MY-013577] [InnoDB] InnoDB initialization has ended. ERROR: Starting application failed: Can't find database configuration from environment variables. Check README for supported configuration options Note: We are running the fargate container in private subnet with in VPC on AWS. Your help is highly appreciated since we are training to deploy mendix application on production env. Please revert as soon as possible.
asked
1 answers
0

Fargate is indeed not a supported environment, meaning Mendix does not test on it.

That said, in theory it should work. When you set DATABASE_ENDPOINT, you shouldn’t need any other database related setting. See the examples at: https://github.com/mendix/docker-mendix-buildpack#startup

 

answered