fix: update API base URL and add healthcheck for backend service
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:
@@ -30,12 +30,17 @@ services:
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/actuator/health || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
args:
|
||||
VITE_BASE_URL: "http://localhost:8082/api/todos"
|
||||
VITE_BASE_URL: "http://localhost:8082/api"
|
||||
container_name: todo-frontend
|
||||
ports:
|
||||
- "5173:80"
|
||||
|
||||
Reference in New Issue
Block a user