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
All checks were successful
Release and Build Docker Images / release-and-build (push) Successful in 1m30s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user