SkynetLabs / skynet-webportal

A webapp that makes Skynet accessible to web browsers.
https://siasky.net
Other
256 stars 55 forks source link

Don't pass GATSBY_ env vars to dashboard anymore #2163

Closed meeh0w closed 2 years ago

meeh0w commented 2 years ago

Overview

linear[bot] commented 2 years ago
SKY-981 Use a plugin for easier access to env variables

We can use a plugin to make env variables accessible for Gatsby without modifying webportal's docker-compose file, similar to what `website` repo is doing: * plugin: gatsby-plugin-env-variables * reference: [https://github.com/SkynetLabs/webportal-website-skynetlabs/blob/main/gatsby-config.js#L45-L50](https://github.com/SkynetLabs/webportal-website-skynetlabs/blob/main/gatsby-config.js#L45-L50)