URL shortener service (Redis-backed) — Project A of a DevOps portfolio series.
402
A small URL shortener service — Project A of a three-part DevOps portfolio series.
Source code, CI/CD, and full documentation: https://github.com/Selase17/shortly-app
docker pull selase/shortly-app:latest
docker run -p 5000:5000 \
-e REDIS_HOST=your-redis-host \
-e REDIS_PORT=6379 \
selase/shortly-app:latest
The app requires a reachable Redis instance for storage. For a complete
local stack (app + Redis together), use the docker-compose.yml in the
source repository.
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /shorten | Create a short code for a URL |
| GET | /<code> | Redirect (302) to the original URL |
| GET | /healthz | Health check — verifies Redis connectivity |
| Variable | Default | Purpose |
|---|---|---|
REDIS_HOST | localhost | Redis hostname |
REDIS_PORT | 6379 | Redis port |
REDIS_DB | 0 | Redis database number |
latest — most recent build from main<git-sha> — immutable, traceable to the exact source commitMIT
Content type
Image
Digest
sha256:a5df1f6d6…
Size
46.9 MB
Last updated
6 months ago
docker pull selase/shortly-app