From 2eb3845d7310b93159b35bace0d103bbb86513be Mon Sep 17 00:00:00 2001 From: Stuart J Mackintosh Date: Tue, 26 Mar 2024 09:21:32 +0000 Subject: [PATCH] Added note about setting URL variables if not localhost (#336) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9338c98..1c23eb6 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,13 @@ docker-compose up You can now open your browser and go to http://localhost to connect to the application. Lago's API is exposed at http://localhost:3000. +Note that if our docker server is not at http://localhost, the following env variables must be set: `LAGO_API_URL LAGO_API_URL`. This may be on the command line or in your .env file. For example: + +``` +LAGO_API_URL="http://192.168.122.71:3000" +LAGO_FRONT_URL="http://192.168.122.71" +``` + ### Find your API key Your API Key can be found directly in the UI: