From 00d35d371c60212f7ed65b633403987aea3bc637 Mon Sep 17 00:00:00 2001 From: Jonathan Chue <5141427+jchue@users.noreply.github.com> Date: Wed, 30 Dec 2020 23:16:38 -0800 Subject: [PATCH] Based on https://github.com/netbox-community/netbox-docker/pull/291, secrets now take priority over environment variables. --- Deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deployment.md b/Deployment.md index 96df815..6b9ad76 100644 --- a/Deployment.md +++ b/Deployment.md @@ -9,7 +9,7 @@ But if you rather continue to configure your application through environment var Therefore we *strongly advise* to make use of the secrets mechanism provided by your container platform (i.e. [Docker Swarm secrets][swarm-secrets], [Kubernetes secrets][k8s-secrets], [OpenShift secrets][openshift-secrets]). [The configuration file][docker-config] and [the entrypoint script][entrypoint] try to load the following secrets from the respective files. -If a secret is defined by an environment variable and in the respective file at the same time, then the value from the environment variable is used. +If a secret is defined by an environment variable and in the respective file at the same time, then the value from the secret is used. * `SUPERUSER_PASSWORD`: `/run/secrets/superuser_password` * `SUPERUSER_API_TOKEN`: `/run/secrets/superuser_api_token`