ENV Variables
This project using ENV variables to store config in the prod environment.
env var list
be sure that you are using a strong SECRET_KEY_BASE
minimum length needed is 32.
you can generate an acceptable secret using ( once you have all the dependencies installed )
VK_CPUS
and VK_MEM
control how much CPU and RAM is assigned for an individual Viewing Key Import Job.
VK_RUNNER_IMAGE
is the Docker image that will be used to run the Viewing Key.
If you running the explorer as a Docker container, the Viewing Key Image has to updated to dind based image.
On non docker based Prod env
you can create a .env file ( added to .gitignore in this project ) and source it.
example:
source .env
in the dev env, you can edit config/dev.exs
to update the config.
Last updated