chore(portal-api): copy env variables to _env file
This commit is contained in:
parent
be842aba31
commit
d90c23cd38
@ -99,12 +99,6 @@ api:
|
||||
- CONSUL=consul
|
||||
- PORT=3000
|
||||
- RETHINK_HOST=rethinkdb
|
||||
- DOCKER_HOST=$DOCKER_HOST
|
||||
- DOCKER_CERT_PATH=$DOCKER_CERT_PATH
|
||||
- DOCKER_CLIENT_TIMEOUT=$DOCKER_CLIENT_TIMEOUT
|
||||
- SDC_URL=$SDC_URL
|
||||
- SDC_ACCOUNT=$SDC_ACCOUNT
|
||||
- SDC_KEY_ID=$SDC_KEY_ID
|
||||
expose:
|
||||
- 3000
|
||||
|
||||
|
3
setup.sh
3
setup.sh
@ -35,6 +35,9 @@ check() {
|
||||
echo COMPOSE_HTTP_TIMEOUT=300 >> _env
|
||||
echo DOCKER_CLIENT_TIMEOUT=300 >> _env
|
||||
echo DOCKER_HOST=${DOCKER_HOST} >> _env
|
||||
echo SDC_URL=${SDC_URL} >> _env
|
||||
echo SDC_ACCOUNT=${SDC_ACCOUNT} >> _env
|
||||
echo SDC_KEY_ID=${SDC_KEY_ID} >> _env
|
||||
echo TRITON_USER=${TRITON_USER} >> _env
|
||||
echo TRITON_DC=${TRITON_DC} >> _env
|
||||
echo TRITON_CA=$(cat "${DOCKER_CERT_PATH}"/ca.pem | tr '\n' '#') >> _env
|
||||
|
Loading…
Reference in New Issue
Block a user