Skip to content

Commit

Permalink
update frontend, add API_URL_SERVER_OVERRIDE
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Oct 19, 2024
1 parent f3f7898 commit 74381a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ services:
init: true
ports:
- "3000:3000"
environment:
# Reason for override:
# * Requests from server cannot access host "localhost"
# * Requests from user agent cannot access host "server"
API_URL_SERVER_OVERRIDE: server:8080

server:
build:
Expand Down
2 changes: 1 addition & 1 deletion frontend

0 comments on commit 74381a9

Please sign in to comment.