Route api traffic through the main container.
Tests / backend-test (pull_request) Successful in 7s
Tests / frontend-test (pull_request) Failing after 8s
Tests / e2e-test (pull_request) Failing after 1m29s

This commit is contained in:
(jenkins)
2026-04-16 23:59:14 +01:00
parent 29048e9d2a
commit eda4697b03
3 changed files with 12 additions and 5 deletions
+4 -3
View File
@@ -20,8 +20,9 @@ services:
context: ./backend
dockerfile: Dockerfile
container_name: line-of-sight-backend
ports:
- "3051:3051"
# Removed public port exposure for security; accessible via frontend proxy
# ports:
# - "3051:3051"
environment:
- DATABASE_URL=postgresql://line_of_sight:line_of_sight_pass@postgres:5432/line_of_sight
- PORT=3051
@@ -40,7 +41,7 @@ services:
ports:
- "3050:3050"
environment:
- VITE_API_URL=http://localhost:3051/api
- VITE_API_URL=/api
depends_on:
- backend
volumes: