Skip to content

mica-lopez/devopstest2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 : Create the DockerFile to build the Django application container

  • install dependencies (requirements.txt)
  • run migrate everytime the container starts
  • use uwsgi to run the application in http mode

2: Run the container using docker-compose on each EC2 instances

the docker-compose stack will include MySQL 5.7. Each EC2 will run the web application and database.

  • create docker-compose.yml
  • modify the application to get the DB credentials from ENV instead of hardcoded
  • Inject the necessary DB information and credentials to connect to the DB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published