-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow editor to be configured via environment variables #459
Labels
enhancement
New feature or request
Comments
This was referenced Apr 17, 2019
mjgiarlo
added a commit
that referenced
this issue
Apr 24, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Create a script to iterate over and load resource templates into Trellis * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL
mjgiarlo
added a commit
that referenced
this issue
Apr 25, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL
mjgiarlo
added a commit
that referenced
this issue
Apr 25, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL
mjgiarlo
added a commit
that referenced
this issue
Apr 25, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL
mjgiarlo
added a commit
that referenced
this issue
Apr 25, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL * Favor `getResourceTemplate()` over `getResourceTemplateFromServer()` to allow switching behavior (namely where the RTs are coming from) via env vars. * Reduce number of max warnings for eslint failures * Update npm package dependencies
mjgiarlo
added a commit
that referenced
this issue
Apr 25, 2019
Fixes #459 Includes: * Add configuration for disabling/enabling spoofing * Set default value to enable spoofing and explicitly set this value in the editor service in docker-compose to retain current behavior * Add configuration variables for Sinopia server and ES URLs * Inject environment variables the editor can see and use via Docker in order to disable/enable spoofing and set the Sinopia server URL * Favor `getResourceTemplate()` over `getResourceTemplateFromServer()` to allow switching behavior (namely where the RTs are coming from) via env vars. * Reduce number of max warnings for eslint failures
mjgiarlo
changed the title
Load initial set of resource templates into server
Allow editor to be configured via environment variables
Apr 26, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Includes:
process.env
vars and make sure these are injectable and accessible in React as wellThis was extracted from #309.
The text was updated successfully, but these errors were encountered: