From def192edab1a6e80365dba9112cee2b92908ef84 Mon Sep 17 00:00:00 2001 From: Nabarun Gogoi Date: Mon, 18 Dec 2023 17:49:45 +0530 Subject: [PATCH] Update new environment values for Osmosis frontend app (#694) * Update new env values for Osmosis frontend app * Use .env.production instead of local --- .../data/compose/docker-compose-osmosis-front-end-urbit.yml | 1 + .../data/compose/docker-compose-osmosis-front-end.yml | 1 + stack_orchestrator/data/config/osmosis/.env.production | 3 +++ stack_orchestrator/data/config/osmosis/build-app-for-urbit.sh | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 stack_orchestrator/data/config/osmosis/.env.production diff --git a/stack_orchestrator/data/compose/docker-compose-osmosis-front-end-urbit.yml b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end-urbit.yml index 238231f4..eebdfb01 100644 --- a/stack_orchestrator/data/compose/docker-compose-osmosis-front-end-urbit.yml +++ b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end-urbit.yml @@ -12,6 +12,7 @@ services: command: ["./build-app-for-urbit.sh"] volumes: - ../config/osmosis/build-app-for-urbit.sh:/app/packages/web/build-app-for-urbit.sh + - ../config/osmosis/.env.production:/app/packages/web/.env.production - urbit_app_builds:/app-builds - ../config/osmosis/urbit-files/mar:/app/packages/web/mar - ../config/osmosis/urbit-files/desk.docket-0:/app/packages/web/desk.docket-0 diff --git a/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml index f4a25b54..0ada9367 100644 --- a/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml +++ b/stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml @@ -10,6 +10,7 @@ services: command: ["./build-app.sh"] volumes: - ../config/osmosis/build-app.sh:/app/packages/web/build-app.sh + - ../config/osmosis/.env.production:/app/packages/web/.env.production - app_builds:/app-builds nginx: diff --git a/stack_orchestrator/data/config/osmosis/.env.production b/stack_orchestrator/data/config/osmosis/.env.production new file mode 100644 index 00000000..2fd24c8e --- /dev/null +++ b/stack_orchestrator/data/config/osmosis/.env.production @@ -0,0 +1,3 @@ +NEXT_PUBLIC_COINGECKO_URL=https://api.coingecko.com + +NEXT_PUBLIC_ENABLE_FEATURES=true diff --git a/stack_orchestrator/data/config/osmosis/build-app-for-urbit.sh b/stack_orchestrator/data/config/osmosis/build-app-for-urbit.sh index 1f7dba41..86e52178 100755 --- a/stack_orchestrator/data/config/osmosis/build-app-for-urbit.sh +++ b/stack_orchestrator/data/config/osmosis/build-app-for-urbit.sh @@ -12,7 +12,7 @@ if [ -d /app-builds/osmosis/build ]; then fi yarn build:static -./build.sh +./build-urbit.sh # Move build to app-builds mkdir -p /app-builds/osmosis