Skip to content

juancbdm/devops_challenge

 
 

Repository files navigation

DevOps Challenge

  • This repo contains code for a multilayer application.

  • The application overview is as follows: web <=> api <=> db

  • There is an api directory and another web, you should dock the application in the best possible way.

  • Write a recipe with the tool of your choice (ansible or terraform) to build the environment and run the application in an automated way.

Running

  • The idea to test locally is to just run 'docker-compose up'
  • Access url localhost: 8080

Evaluation

  • It will count the quality of 'Dockerfile', 'docker-compose.yml'
  • Extra points if you use terraform and are in good practice
  • Extra points if you use ansible and are well structured

Solution

  • Fix postgres connection on api/app.js
  • Add dotenv library across the code
  • Dockerize both api and frontend
  • Create a docker-compose file
  • Terraform AWS(with output for ansible) and GCP
  • Ansible make all configurations necessary to deploy the application
  • Simple Makefile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.8%
  • HCL 31.2%
  • Makefile 3.3%
  • Pug 2.8%
  • Jinja 2.7%
  • Dockerfile 2.3%
  • CSS 0.9%