Skip to content

Commit

Permalink
Merge pull request #107 from kids-first/fix-dashboard-launch
Browse files Browse the repository at this point in the history
🐛 Add missing env vars to Docker Compose
  • Loading branch information
znatty22 authored Aug 7, 2020
2 parents d43d808 + b5c1b2c commit 4c66efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ jobs:
docker build -t "kidsfirstdrc/kf-ui-fhir-data-dashboard:dev" \
-t "kidsfirstdrc/kf-ui-fhir-data-dashboard:latest" .
- run:
name: Build docker kidsfirst image
command: |
if [ $CIRCLE_BRANCH == 'master' ]; then
docker build \
--build-arg REACT_APP_FHIR_API_NAME="Kids First" \
--build-arg REACT_APP_FHIR_API="http://10.10.1.141:8000/" \
-t "kidsfirstdrc/kf-ui-fhir-data-dashboard:kidsfirst" .
fi
- run:
name: 'Push docker images'
command: |
Expand All @@ -39,7 +30,6 @@ jobs:
kidsfirstdrc/kf-ui-fhir-data-dashboard:$GIT_COMMIT
docker push kidsfirstdrc/kf-ui-fhir-data-dashboard:dev
docker push kidsfirstdrc/kf-ui-fhir-data-dashboard:latest
docker push kidsfirstdrc/kf-ui-fhir-data-dashboard:kidsfirst
docker push kidsfirstdrc/kf-ui-fhir-data-dashboard:$GIT_COMMIT
fi
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ services:
container_name: dashboard
build:
context: '.'
args:
- REACT_APP_FHIR_API_NAME=my-fhir-server
- REACT_APP_FHIR_API_AUTH_TYPE=BASIC_AUTH
- REACT_APP_FHIR_API=http://localhost:8000
environment:
- REACT_APP_FHIR_API_NAME=Localhost
- REACT_APP_FHIR_API_AUTH_TYPE=BASIC_AUTH
- REACT_APP_FHIR_API=http://localhost:8000
ports:
- "3000:80"

0 comments on commit 4c66efd

Please sign in to comment.