From 826f6fd6a9042c0c6100010d95da5420af6e790f Mon Sep 17 00:00:00 2001 From: Thomas Arrow Date: Mon, 8 Jun 2026 13:32:14 +0100 Subject: [PATCH] dev: separate out metal and docker local dev env files We discovered that the APP_API_URL needs to differ in the baremetal vs docker use case so this adds separate env file for the baremetal usecase and rename the existing one to clarify it's for docker --- .env.development.local.baremetal | 8 ++++++++ .env.development.local => .env.development.local.docker | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .env.development.local.baremetal rename .env.development.local => .env.development.local.docker (71%) diff --git a/.env.development.local.baremetal b/.env.development.local.baremetal new file mode 100644 index 00000000..5ad34c47 --- /dev/null +++ b/.env.development.local.baremetal @@ -0,0 +1,8 @@ +# For local development on bare metal using a Platform API that can be accessed via localhost +NODE_ENV=development +VUE_APP_API_URL=http://localhost:8082 +VUE_APP_API_MOCK=0 +VUE_APP_RECAPTCHA_SITE_KEY="6LeHzbMUAAAAABjNp0vILaWr5ZeYHmteF7rGuZNV" +VUE_APP_BUILD_FOR_DOCKER_IMAGE=0 +VUE_APP_CNAME_RECORD=sites-1.dyna.wbaas.dev +VUE_APP_SUBDOMAIN_SUFFIX=".wbaas.dev" diff --git a/.env.development.local b/.env.development.local.docker similarity index 71% rename from .env.development.local rename to .env.development.local.docker index 6558370b..a6a3703f 100644 --- a/.env.development.local +++ b/.env.development.local.docker @@ -1,4 +1,4 @@ -# For local development using a Platform API that can be accessed via the host machine's localhost +# For local development in docker using a Platform API that can be accessed via the host machine's localhost NODE_ENV=development VUE_APP_API_URL=http://host.docker.internal:8082 VUE_APP_API_MOCK=0