Skip to content
Snippets Groups Projects
Verified Commit 55e1f380 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Export BISCUIT config variables.

parent f22ac650
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,11 @@ POSTGRES_PORT=${POSTGRES_PORT:-5432}
POSTGRES_DB=${POSTGRES_DB:-biscuit}
POSTGRES_USER=${POSTGRES_USER:-biscuit}
BISCUIT_database__host=${BISCUIT_database__host:-$POSTGRES_HOST}
BISCUIT_database__port=${BISCUIT_database__port:-$POSTGRES_PORT}
BISCUIT_database__name=${BISCUIT_database__name:-$POSTGRES_DB}
BISCUIT_database__user=${BISCUIT_database__user:-$POSTGRES_USER}
BISCUIT_database__password=${BISCUIT_database__password:-$POSTGRES_PASSWORD}
export BISCUIT_database__host=${BISCUIT_database__host:-$POSTGRES_HOST}
export BISCUIT_database__port=${BISCUIT_database__port:-$POSTGRES_PORT}
export BISCUIT_database__name=${BISCUIT_database__name:-$POSTGRES_DB}
export BISCUIT_database__user=${BISCUIT_database__user:-$POSTGRES_USER}
export BISCUIT_database__password=${BISCUIT_database__password:-$POSTGRES_PASSWORD}
if [[ -z $BISCUIT_secret_key ]]; then
if [[ ! -e /etc/biscuit/secret_key ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment