mirror of https://github.com/dexidp/dex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
372 B
21 lines
372 B
|
11 years ago
|
#!/bin/bash -e
|
||
|
|
|
||
|
|
mkdir -p deploy
|
||
|
|
|
||
|
|
required=(
|
||
|
|
${DEX_OVERLORD_DB_URL:?"missing"}
|
||
|
|
${DEX_OVERLORD_KEY_SECRET:?"missing"}
|
||
|
|
${DEX_WORKER_DB_URL:?"missing"}
|
||
|
|
${DEX_WORKER_KEY_SECRET:?"missing"}
|
||
|
|
)
|
||
|
|
|
||
|
|
eval "cat <<EOF
|
||
|
|
$(<static/dex-worker.service.tmpl)
|
||
|
|
EOF
|
||
|
|
" 1> deploy/dex-worker.service
|
||
|
|
|
||
|
|
eval "cat <<EOF
|
||
|
|
$(<static/dex-overlord.service.tmpl)
|
||
|
|
EOF
|
||
|
|
" 1> deploy/dex-overlord.service
|