DStefanow / basic-python-app

Basic python application that is connected to PostgreSQL database and are managed by helm charts.
MIT License
0 stars 0 forks source link

Use Docker compose for more smooth process during development #7

Closed DStefanow closed 2 months ago

DStefanow commented 2 months ago

Problem

Currently, we have a lot of bash scripts and README that give us hints how to build and launch our infrastructure. It is time to start using Docker Compose to introduce more smooth process during development.

Motivation

We want more easy process during development, so we can automate the build and spin-up of the infrastructure with docker-compose.

Acceptance criteria

Having a working docker compose yaml configuration that launch the whole infrastructure with one command.

Technical details

  1. Move the main Dockerfile in the root folder;
  2. Move requirements.txt to the root folder;
  3. Modify Dockerfile;
  4. Introduce variables and secrets in docker compose;
  5. Test the whole setup.