Skip to content

Commit

Permalink
Add NEXT_PUBLIC_API_ROUTE_PREFIX in pwa docker service
Browse files Browse the repository at this point in the history
  • Loading branch information
botisSmile committed Oct 21, 2024
1 parent 3a3cbc3 commit 392a353
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ services:
environment:
- NEXT_PUBLIC_ENTRYPOINT=${SERVER_NAME:-gally.localhost}
- NEXT_PUBLIC_API_URL=https://${API_SERVER_NAME:-${SERVER_NAME:-api.gally.localhost}}/${API_ROUTE_PREFIX:-}
- NEXT_PUBLIC_API_ROUTE_PREFIX=${API_ROUTE_PREFIX:-}
- REACT_APP_API_URL=https://${API_SERVER_NAME:-${SERVER_NAME:-api.gally.localhost}}/${API_ROUTE_PREFIX:-}
healthcheck:
test: test $$(curl --connect-timeout 2 -s -o /dev/null -w ''%{http_code}'' http://localhost:3000) -eq 200
Expand Down

0 comments on commit 392a353

Please sign in to comment.