Back-end Production Server
Context and Problem Statement
Decision Drivers
Options Considered
Production Server
Implementation
Decision Outcome
Production Server
Implementation
Pros and Cons of the Options
Production Server
Implementation
#1 API entrypoint responsible for conditional logic determining dev vs prod environment and starting corresponding server
#2 Dockerfile executable command for the prod server is overridden in the IaC task definition, API by default starts dev server
#3 Dockerfile executable command for the dev server is overridden in docker-compose.yml, API by default starts prod server
docker-compose.yml, API by default starts prod serverLast updated
Was this helpful?