Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Sample Todo app that is built with Django + Postgres + Celery (Redis)

Notifications You must be signed in to change notification settings

localopsco/django-sample-app

Repository files navigation

To push docker image

docker buildx build --platform linux/amd64 -t todo-web:latest -t todo-web:<version> .
docker tag todo-web:latest public.ecr.aws/x1e8o8e1/django-sample-app:latest
docker tag todo-web:<version> public.ecr.aws/x1e8o8e1/django-sample-app:<version>
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/x1e8o8e1
docker push public.ecr.aws/x1e8o8e1/django-sample-app:latest
docker push public.ecr.aws/x1e8o8e1/django-sample-app:<version>

To helm install

helm install todo ./helm

To push new helm version

helm package helm -d helm/.tmp/
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/x1e8o8e1
helm push helm/.tmp/django-sample-app-helm-<version>.tgz oci:https://public.ecr.aws/x1e8o8e1/