-
Couldn't load subscription status.
- Fork 0
Docker Documentation
This documentation explains how to build and run a full-stack application using Docker in our project. The setup consists of a React frontend and a Java (Spring Boot) backend, each containerized and connected via Docker Compose.
project-root/
│
├── backend/
│ ├── Dockerfile # Multi-stage Dockerfile for Spring Boot
│ ├── pom.xml
│ └── src/
│
├── frontend/
│ ├── Dockerfile # Dockerfile for React app
│ ├── package.json
│ ├── package-lock.json
│ └── src/
│
└── docker-compose.yml # Docker Compose config
Dockerfile (frontend/Dockerfile):
FROM node:latest
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]Description:
-
Node.js based frontend
-
Optimized dependency installation
-
Serves on port 3000
Dockerfile (backend /Dockerfile):
# Stage 1: Build
FROM maven:latest AS build
WORKDIR /app
COPY pom.xml .
RUN mvn dependency:go-offline
COPY src ./src
RUN mvn package -DskipTests
# Stage 2: Run
FROM openjdk:21-jdk
WORKDIR /app
COPY --from=build /app/target/*.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]Description:
-
Multi-stage Java/Spring Boot build
-
Maven for dependency management
-
OpenJDK 21 runtime
-
Runs as executable JAR
DockerComposeFile (/docker-compose.yml):
version: '3.8'
services:
backend:
build: ./backend
ports:
- "8080:8080"
networks:
- appnet
frontend:
build: ./frontend
ports:
- "3000:3000"
networks:
- appnet
depends_on:
- backend
networks:
appnet:
- Both services are connected via a Docker network named appnet to enable communication.
- The frontend service depends on backend and will wait until the backend is ready.
-
Navigate to the root directory of the project.
-
Build and run containers using Docker Compose: -docker-compose up --build
-
Access the app: -Frontend (React): http://<deployed_url>:3000/ -Backend (Spring Boot): http://<deployed_url>:8080/
- To stop and remove the containers and network:
- docker-compose down

WasteLess App
- Meeting 1 (Lab-1) - (23.09.2025)
- Meeting 2 (Zoom) - (25.09.2025)
- Meeting 3 (Lab-2) - (30.09.2025)
- Meeting 4 (Zoom) - (02.10.2025)
- Customer Meeting 1 - (06.10.2025)
- Meeting 5 (Lab-3) - (07.10.2025)
- Meeting 6 (Zoom) - (09.10.2025)
- Meeting 7 (Lab-4) - (14.10.2025)
- Meeting 8 (Zoom) - (16.10.2025)
- Meeting 9 (Zoom) - (22.10.2025)
🛠️ Backend Meeting Notes
💻 Frontend Meeting Notes
📱 Mobile Meeting Notes
- Requirements
- Scenarios
- Elicitation Questions
- Use Case Diagrams
- Class UML Diagram
- Sequence Diagrams
- Demo Scenario
Abdurrahman Arslan
Abdülkerim Kasar
Ali Bartu Konca
Arda Yalçındağ
Cengiz Bilal Sarı
Osman Yusuf Tosun
Yusuf Onur Öksüz
Yüksel Eren Şen
⌛ 352 Sidebar
🏠 Home
📌 Team Members and Contributions
- Meeting 1 - (14.02.2025)
- Meeting 2 - (20.02.2025)
- Meeting 3 - (27.02.2025)
- Customer Meeting 1 - (03.03.2025)
- Meeting 5 - (06.03.2025)
- Meeting 6 - (11.03.2025)
- Meeting 7 - (13.03.2025)
- Meeting 8 - (16.03.2025)
- Meeting 9 - (20.03.2025)
- Meeting 10 - (24.03.2025)
- Meeting 11 - (10.04.2025)
- Meeting 12 - (16.04.2025)
- Meeting 13 - (22.04.2025)
- Meeting 14 - (28.04.2025)
- Meeting 15 - (03.05.2025)
- Meeting 16 - (05.05.2025)
- Meeting 17 - (09.05.2025)
- Meeting 18 - (11.05.2025)