Skip to content

Commit

Permalink
Add information about LISTEN_PORT
Browse files Browse the repository at this point in the history
With Bref v1, we used the port `8787` for our stack, but with Bref v2, the default listening port is set to `8000`.

Symfony was redirecting to this port as the `bref/fpm-dev-gateway:1` image used to proxy the requests.

I believe this information should stated into this page: https://bref.sh/docs/web-apps/local-development.html
  • Loading branch information
eexit authored Jun 21, 2023
1 parent c21625c commit 403d7dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ services:
- .:/var/task:ro
```
If you need to change the default listening port, you can set the `LISTEN_PORT` environment variable value to whatever port you wish to use.

## Static assets

If you want a quick and easy way to serve static assets, mount your files in the `bref/local-api-gateway` container and set the `DOCUMENT_ROOT` env var to the root of the assets.
Expand Down

0 comments on commit 403d7dc

Please sign in to comment.