- Docker
- K3d
If you are running outside Docker and Kubernetes, you need:
- Python 3.10
- Poetry
- PostgreSQL
poetry install
- Create a
.env
file with the environment variablesPOSTGRES_URL
,POSTGRES_DATABASE
,POSTGRES_USER
,POSTGRES_PASSWORD
uvicorn app.main:app
- Create a
.env
file with the environment variablesPOSTGRES_URL
,POSTGRES_DATABASE
,POSTGRES_USER
,POSTGRES_PASSWORD
docker compose up
k3d cluster create cl -p "8081:80@loadbalancer"
cd kubernetes
kubectl apply -f namespace.yaml -f deployment.yaml -f service.yaml -f ingress.yaml -f database.yaml
- the order of the manifests matters
- Argo CD