Skip to content

Commit

Permalink
adjust for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveregger committed Sep 6, 2023
1 parent b1887d1 commit c4230cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@
if you have the rights you can download Matchbox as a docker container:

```
docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.4.1
docker pull europe-west6-docker.pkg.dev/ahdis-ch/ahdis/matchbox:v3.4.2
```

## Configurable base image:

```bash
docker run -d --name matchbox -p 8080:8080 -v /Users/oliveregger/apps/:/apps/ matchbox
docker run -d --name matchbox -p 8080:8080 -e matchbox.fhir.context.onlyOneEngine=true -v /Users/oliveregger/apps/:/apps/ matchbox
```

Server will then be accessible at http://localhost:8080/matchboxv3/fhir/metadata.

The local volume /Users/oliveregger/apps/ will be mapped inside the container and Matchbox will serve the content
if is requested via http://localhost:8080/matchboxv3/apps/ (allows you to add own html apps).

We recommend to put at least 2.5 GB of RAM for the container instance, depending on how many ig's yoiu plan to install
and want to use.
The last parameter is to set development environment, which allows you to create/update conformance resources (e.g. transfrom StructureMaps). If not provided, you need to provide the conformance resources by an FHIR Implementation Guide.

We recommend to put at least 2.5 GB of RAM for the container instance, depending on how many ig's yoiu plan to install and want to use.

## Live and Readyness checks

Expand Down
2 changes: 1 addition & 1 deletion matchbox-server/fml.http
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### @host = http://localhost:8080/matchbox/fhir
### @host = http://localhost:8080/matchboxv3/fhir
@host = https://test.ahdis.ch/matchbox/fhir

### returns metadata confiugraiotn for server, verify that you have in implementation description "Developoment Mode"
Expand Down

0 comments on commit c4230cd

Please sign in to comment.