Get up and running on your infrastructure
envs/
directory.
After cloning the repo, copy the environment variables templates:
.env.development
ENCRYPTION_KEY
environment variable with this value.
To generate a key, on *nix machines:
docker compose
to start the environment locally:
http://localhost:3000
to load the Omo UI.
ENV_NS
is an optional variable. If specified, it should reference a folder name under envs/
. For example, ENV_NS=example
will include additional environment variabes under envs/example/.env
in addition to .env.development
in the project root.It’s helpful if you want to test different values of environment variables without constantly
changing the value.For example, if you want to test different values for 2 teams, you can create envs/team1/.env
and envs/team2/.env
, then set ENV_NS=team1
or ENV_NS=team2
.You can check the env_file
attribute in docker-compose.yaml
to see how ENV_NS
is used.