/go-url-shortner

basic URL shortner go+fiber+redis

Primary LanguageGo

Docker

go-url-shortner

Basic URL shortner made with go, fiber & redis

Containers:-

  1. Redis
  2. Go build image

To run all the containers in detached mode

docker-compose up -d

Application runs on port 8080 {Can be configured in compose file}

If you already have redis running over

Change directory to api and build & run docker image

cd api && docker build . -t aa_url_shotrner_img:v1
docker run -dp 8080:8080 url_shortner_container

This will span containers in detached mode