Skip to content

Setting up the environment

Joel Quiles edited this page Dec 8, 2023 · 4 revisions

This page details how to configure the dojo-stack environment file

Initially, upon first clone of the code, running make init will create an envfile file from envfile.sample.

Common variables to modify:

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
BUCKET=
DMC_BUCKET=
DOCKERHUB_AUTH=
DOCKERHUB_USER=
STORAGE_HOST=
CONFIG_STORAGE_BASE=s3://dojo/configs/
DATASET_STORAGE_BASE_URL=s3://datasets/
DOCUMENT_STORAGE_BASE_URL=s3://documents/
# TODO Proper Overview on what values to use for development vs production

When working exclusively on docker on this stack and changing values on the envfile, a simple make restart from the project directory will: a) Re-generate a docker-compose file with all the services and latest updated values from envfile b) Restart all services to use these settings b.2) Start any services that were stopped before the restart command.

Clone this wiki locally