feat: Add VS Code development configurations and update Docker Compose service ports and frontend environment variable.
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m44s

This commit is contained in:
burakalmazlar
2026-02-23 10:15:07 +03:00
parent 5bf01c59b5
commit 371c1025ee
4 changed files with 424 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ services:
build: ./backend
container_name: todo-backend
ports:
- "8082:8082"
- "8080:8080"
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/tododb
- SPRING_DATASOURCE_USERNAME=postgres
@@ -30,14 +30,9 @@ services:
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8082/api/actuator/health || exit 1"]
interval: 10s
timeout: 5s
retries: 5
frontend:
build:
build:
context: ./frontend
container_name: todo-frontend
ports:
@@ -45,7 +40,8 @@ services:
depends_on:
backend:
condition: service_healthy
environment:
- VITE_BASE_URL=http://localhost:8080/api
volumes:
postgres_data: