Initial commit: MV Rent car rental management system

Spring Boot + Thymeleaf app: fleet, drivers, vendors, bookings, billing/
settlements, payments, maintenance, inspections, reviews, telematics, audit
log, staff/user management, and separate admin/vendor/driver portals.
Includes Docker Compose deployment (app + Postgres).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
athul rd
2026-07-28 08:37:05 +05:30
co-authored by Claude Opus 4.8
commit aa8abf4e56
242 changed files with 16321 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# ---------- Build stage ----------
FROM maven:3.9-eclipse-temurin-17 AS build
WORKDIR /build
# Cache dependencies first
COPY pom.xml .
RUN mvn -B -q dependency:go-offline
# Build the app
COPY src ./src
RUN mvn -B -q -DskipTests clean package
# ---------- Runtime stage ----------
FROM eclipse-temurin:17-jre
WORKDIR /app
# Uploaded documents/photos live here (mounted as a volume)
ENV STORAGE_DIR=/data/uploads
RUN mkdir -p /data/uploads
COPY --from=build /build/target/car-rental-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-XX:MaxRAMPercentage=75", "-jar", "app.jar"]