mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Allow bypassing app router with FARSIDE_NO_ROUTER
Setting the aforementioned env var skips creation of the app router, which is useful for running update.exs when the main app is already running (otherwise there's a port conflict).
This commit is contained in:
parent
5904c7cce4
commit
d4581797e7
4 changed files with 22 additions and 4 deletions
|
@ -73,3 +73,9 @@ request per second per IP.
|
|||
- Run Farside: `mix run --no-halt`
|
||||
- Uses localhost:4001
|
||||
|
||||
### Environment Variables
|
||||
|
||||
| Name | Purpose |
|
||||
| -- | -- |
|
||||
| FARSIDE_TEST | If enabled, skips the instance availability check in `update.exs`. |
|
||||
| FARSIDE_NO_ROUTER | If enabled, skips creation of the router. Useful for running `update.exs` with `mix run` when the app is already running. |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue