Sign inSign up

leduc2005/food_delivery-app

By leduc2005

Updated 10 months ago

FoodDelivery: A backend food delivery app

Image
0

214

leduc2005/food_delivery-app repository overview

🍔 FoodDelivery Docker Image

Official Docker image for FoodDelivery, a full-stack food delivery platform built with Spring Boot, PostgreSQL, Redis, and React.js.

This image packages the backend application, allowing you to deploy it quickly using Docker without building the project from source.

Features

  • 🚀 Production-ready Spring Boot application
  • 🗄️ PostgreSQL database support
  • ⚡ Redis caching
  • 🔐 JWT Authentication & Role-Based Access Control
  • 📖 Swagger/OpenAPI integration
  • 🐳 Easy deployment with Docker Compose

Pull the Image

docker pull leduc2005/food_delivery-app:latest

Since the application depends on PostgreSQL and Redis, the recommended way to run it is with Docker Compose.

git clone https://github.com/leduc20051409/FoodDelivery.git

cd FoodDelivery

docker compose up --build

Run the Backend Container

If you already have PostgreSQL and Redis running, you can start the backend container directly.

docker run -d \
  --name fooddelivery \
  -p 8080:8080 \
  -e SPRING_DATASOURCE_URL=jdbc:postgresql://<postgres-host>:5432/fooddelivery \
  -e SPRING_DATASOURCE_USERNAME=<username> \
  -e SPRING_DATASOURCE_PASSWORD=<password> \
  -e SPRING_REDIS_HOST=<redis-host> \
  -e SPRING_REDIS_PORT=6379 \
  leduc2005/food_delivery-app:latest

Environment Variables

VariableDescription
SPRING_DATASOURCE_URLPostgreSQL connection URL
SPRING_DATASOURCE_USERNAMEPostgreSQL username
SPRING_DATASOURCE_PASSWORDPostgreSQL password
SPRING_REDIS_HOSTRedis hostname
SPRING_REDIS_PORTRedis port
JWT_SECRETJWT signing secret (if configured)

Source Code

GitHub Repository:

https://github.com/leduc20051409/FoodDelivery

Tag summary

Content type

Image

Digest

sha256:51017e7f7

Size

302.8 MB

Last updated

10 months ago

docker pull leduc2005/food_delivery-app