Configuring the Environment Variables
A deployment folder is now available in the home directory of the target machine.
deployment ~> tree -L 1 . . |- app |- dbos |- infra
For this section, we assume that you have released a version 1.0.0 of your project with the Platform, that all your Docker images are available on your Docker (private) repository, and that the (private) repository is available at the URL docker-registry.internal.some-company.com.
Configuring a Platform application environment amounts to two things:
-
Defining where the Docker registry that hosts the application Docker images is located; and
-
Defining the version of your Platform application.
These pieces of information are held in a .env file in the app folder (app/.env).
Edit this file and ensure the first lines are as follows:
APP_DOCKER_REGISTRY=docker-registry.internal.some-company.com DOCKER_PULL_REGISTRY=product-dbgene-prod-docker-group.decisionbrain.cloud PROJECT_VERSION_DOCKER_TAG=1.0.0