Skip to content

Environment Variables

afwilcox edited this page May 15, 2024 · 24 revisions

Below are the development .env files, with any secret information removed.

Note: the files should be renamed to .env and placed in the directories as follows: Note2: If you're running as a container, you'll want to update the localhost values to "host.docker.internal".

  • backend.env: rename to .env and place in backend folder
  • frontend.env: rename to .env and place in frontend folder
  • webeoc.env: rename to .env and place in webeoc folder .

The webeoc.env values are dependant on how you're running the project. If you're using docker-compose to start webeoc, then the values should be

NATS_HOST="nats://host.docker.internal:4222"

COMPLAINTS_MANAGEMENT_API_URL="http://host.docker.internal:3000/api/v1"

Also note that depending on how you're running the app, you'll want to update the port on the COMPLAINTS_MANAGEMENT_API_URL environment variable to match the port that the backend is listening on.

Final note: you also need to set the password for WEBEOC_PASSWORD. This is the password used to connect to the WebEOC API. Reach out to Alec or Barrett for this.

Clone this wiki locally