aeternity / aepp-governance

Aeternity Governance Aepp
https://governance.aeternity.com/
ISC License
2 stars 7 forks source link

Runtime configuration of frontend app #184

Open dincho opened 10 months ago

dincho commented 10 months ago

Currently it is impossible to configure the frontend application (aepp) runtime, specifically: VUE_APP_AE_MAINNET_BACKEND_URL and VUE_APP_AE_UAT_BACKEND_URL

That means that one needs to build a separate docker image for each configuration set they need. That's impractical and in general "not good" practice :)

After a short chat with @thepiwo tuns out the app is static so no "native" support for env vars, however we worked with @davidyuk on solution for that kind of apps here: https://github.com/aeternity/aepp-base/pull/1510

The mileage of the complexity might vary based on the app architecture.