Skip to content

Commit

Permalink
Merge pull request #12 from justin13601/src_app_folder_refactor
Browse files Browse the repository at this point in the history
Src app folder refactor
  • Loading branch information
justin13601 authored Nov 14, 2022
2 parents 720bf4e + 6e7f64a commit f11183f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ Please follow setup instructions available [here](https://lucene.apache.org/pylu
This creates the ```config.yaml``` required by the dashboard.


3. Build image and run container:
```sh
docker-compose up
```

OR:
3. Build Docker image:
```sh
docker build -t mimic-iv-dash .
Expand Down
27 changes: 27 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: '3.7'
services:
web:
# Path to dockerfile.
# '.' represents the current directory in which docker-compose.yml is present.
build: .

# Mapping of container port to host
ports:
- "8080:80"
# Mount volume
# volumes:
# - "/usercode/:/code"

# Link database container to app container for reachability.
# links:
# - "database:backend"

database:
# image to fetch from docker hub
image: justin13601/mimic-iv-dash:latest

# Environment variables for startup script, container will use these variables to start the container with these define variables.
environment:
- "PROJECT_ID=kind-lab"
- "BUCKET_NAME=kind-lab.appspot.com"
- "GOOGLE_APPLICATION_CREDENTIALS=''"

0 comments on commit f11183f

Please sign in to comment.