1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00

chore(portal-api): copy env variables to _env file

This commit is contained in:
geek 2017-06-22 12:32:00 -05:00 committed by Sérgio Ramos
parent be842aba31
commit d90c23cd38
2 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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