I want to deploy a docker file in AWS, I've read about it and I can do it through ECS or Elastic Beanstalk, but I'm not sure which one is the best.
this is my docker-compose file (this is the only file in the project):
version: '3'
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- "6666:4466"
environment:
PRISMA_CONFIG: |
port: 4466
managementApiSecret: ${PRISMA_MANAGEMENT_API_SECRET}
databases:
default:
connector: postgres
host: ${DB_HOST}
database: ${DB_DB}
schema: public
user: ${DB_USER}
password: ${DB_PASSWORD}
rawAccess: true
port: '5432'
migrations: true
connectionLimit: 2