Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
improve frontend configuration, use headers to determine ORIGIN
  • Loading branch information
eric-intuitem committed Feb 21, 2024
1 parent 8e966b8 commit 66a149b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ services:
frontend:
container_name: frontend
environment:
- ORIGIN=https://localhost:8443
- PUBLIC_BACKEND_API_URL=http://backend:8000/api
- PROTOCOL_HEADER=x-forwarded-proto
- HOST_HEADER=x-forwarded-host
build: ./frontend
depends_on:
- backend
Expand Down

0 comments on commit 66a149b

Please sign in to comment.