From d4581797e7a06cf4c89cf03def30e19726f26d11 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Mon, 15 Nov 2021 20:09:34 -0700 Subject: 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). --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 54b40dc..a2dd1da 100644 --- a/README.md +++ b/README.md @@ -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. | -- cgit v1.2.3