Flask + PostgreSQL quote app with upvote/downvote, demonstrating Docker manual networking.
167
Quote Vault is a lightweight Flask application that serves random quotes with upvote/downvote functionality, backed by PostgreSQL. Built to demonstrate Docker networking, container-to-container communication, and persistent storage without using Docker Compose.
DOCKER CONCEPTS DEMONSTRATED:
TECH STACK:
USAGE:
docker network create quote.net
docker run -d \
--name db \
--network quote.net \
-e POSTGRES_USER=quotes \
-e POSTGRES_PASSWORD=quotes \
-e POSTGRES_DB=quotes \
-v quote-data:/var/lib/postgresql/data \
postgres:16-alpine
docker run -d \
--name vault \
--network quote.net \
-e DB_HOST=db \
-e DB_USER=quotes \
-e DB_PASS=quotes \
-e DB_NAME=quotes \
-p 5000:5000 \
muneebrather/quote-vault:latest
Muneeb Ahmad Rather
Content type
Image
Digest
sha256:4546d8a9c…
Size
52.1 MB
Last updated
2 months ago
docker pull muneebrather/quote-vault