Skip to content

Qu-Ack/orchestration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orchestration

This project is responsible for handling orchestration of containers. Uses Traefik as a reverse proxy to route to the correct container based on the subdomain.

Code Base Structure

┌───────────────────────┐
│ Transport Layer │
│ handles the incomin │
│ requests │
└───────────┬───────────┘

┌───────────▼───────────┐
│ Data Layer │
│ Manages data, │
│ create entities │
└───────────┬───────────┘

┌───────────▼───────────┐
│ Logic Layer │
│ business logic │
└───────────┬───────────┘

┌───────────▼───────────┐
│ Persistence layer │
└───────────────────────┘

Steps To Set Up Locally

  1. run the docker-compose.yml with docker compose up -d to run the traefik service
  2. run the command

docker run -d --name my-postgres --network db-network -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres -v postgres-data:/var/lib/postgresql/data -p 5433:5432 postgres:latest

to run the containerized postgres-database

3.the datbase connection string postgresql://postgres:postgres@my-postgres:5432/{YOUR DATABASE NAME}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors