Skip to content

Set env variables in docker-compose to be used with interface and visualization parts of the app #72

@im-prakher

Description

@im-prakher

Would it make sense to set environment variables here that reference the other YABA server addresses that can be accessed through ReactJS's process.env? This way only one place needs to change if the server information changes

Originally posted by @Chris-Schnaufer in #69 (comment)

The aim of this issue is to set port and host environment variables for the interface and visualization part in the docker-compose file itself so that can be used in these parts through ReactJS's and Node.js process.env

For reference- Reading an environment variable in react which was set by docker

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions