Update new environment values for Osmosis frontend app (#694)

* Update new env values for Osmosis frontend app

* Use .env.production instead of local
This commit is contained in:
Nabarun Gogoi 2023-12-18 17:49:45 +05:30 committed by GitHub
parent d8357df345
commit def192edab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View File

@ -12,6 +12,7 @@ services:
command: ["./build-app-for-urbit.sh"] command: ["./build-app-for-urbit.sh"]
volumes: volumes:
- ../config/osmosis/build-app-for-urbit.sh:/app/packages/web/build-app-for-urbit.sh - ../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 - urbit_app_builds:/app-builds
- ../config/osmosis/urbit-files/mar:/app/packages/web/mar - ../config/osmosis/urbit-files/mar:/app/packages/web/mar
- ../config/osmosis/urbit-files/desk.docket-0:/app/packages/web/desk.docket-0 - ../config/osmosis/urbit-files/desk.docket-0:/app/packages/web/desk.docket-0

View File

@ -10,6 +10,7 @@ services:
command: ["./build-app.sh"] command: ["./build-app.sh"]
volumes: volumes:
- ../config/osmosis/build-app.sh:/app/packages/web/build-app.sh - ../config/osmosis/build-app.sh:/app/packages/web/build-app.sh
- ../config/osmosis/.env.production:/app/packages/web/.env.production
- app_builds:/app-builds - app_builds:/app-builds
nginx: nginx:

View File

@ -0,0 +1,3 @@
NEXT_PUBLIC_COINGECKO_URL=https://api.coingecko.com
NEXT_PUBLIC_ENABLE_FEATURES=true

View File

@ -12,7 +12,7 @@ if [ -d /app-builds/osmosis/build ]; then
fi fi
yarn build:static yarn build:static
./build.sh ./build-urbit.sh
# Move build to app-builds # Move build to app-builds
mkdir -p /app-builds/osmosis mkdir -p /app-builds/osmosis