fix: update database connection URL and configure frontend build context
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m30s

This commit is contained in:
almazlar
2026-02-22 12:18:37 +03:00
parent 223a960142
commit 000d1db6b1
3 changed files with 16 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ services:
ports:
- "8082:8080"
environment:
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5433/tododb
- SPRING_DATASOURCE_URL=jdbc:postgresql://db:5432/tododb
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
depends_on:
@@ -32,12 +32,16 @@ services:
condition: service_healthy
frontend:
build: ./frontend
build:
context: ./frontend
args:
VITE_BASE_URL: "http://localhost:8082/api/todos"
container_name: todo-frontend
ports:
- "5173:80"
depends_on:
- backend
volumes:
postgres_data: