Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 535 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 535 Bytes

URL shortener.

Service for URL shortening.

Python, Poetry, Fastapi, Sqlalchemy, Postgresql, Docker, K8s.

Launching the application in docker(but you need to prepare DB by yourself first.)

docker build -t gran_url .
docker run -d -p 24501:24501 --name url_shortener gran_url

Steps for deploying in kubernetes

Create package and install:

helm package gran-url/.
helm install gran-url gran-url-0.1.9.tgz

For port-forward(after start) do:

kubectl port-forward svc/gran-url 24501:24501