Skip to content

Instantly share code, notes, and snippets.

@prb112
Last active February 19, 2022 01:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prb112/1461e66d28767ba169843bded4b0aad8 to your computer and use it in GitHub Desktop.
Save prb112/1461e66d28767ba169843bded4b0aad8 to your computer and use it in GitHub Desktop.
For Terminology Testing
version: "3"
services:
fhir-server:
image: ibmcom/ibm-fhir-server:graph
container_name: fhir-server
hostname: fhir
volumes:
- type: bind
source: ./fhir-server-config.json
target: /opt/ol/wlp/usr/servers/defaultServer/config/default/fhir-server-config.json
read_only: true
environment:
TRACE_SPEC: "com.ibm.fhir.*=FINE"
TRACE_FILE: "stdout"
BOOTSTRAP: "true"
healthcheck:
start_period: 32s
interval: 30s
timeout: 5s
retries: 3
# https://docs.docker.com/compose/compose-file/#variable-substitution
test: curl -k -u 'fhiruser:change-password' 'https://localhost:9443/fhir-server/api/v4/$$healthcheck'
ports:
- 9080:9080
- 9443:9443
networks:
- fhir
cassandra:
image: cassandra:4.0.1
container_name: fhir-cassandra
hostname: cassandra
healthcheck:
test: ["CMD", "cqlsh", "-e", "describe keyspaces" ]
interval: 5s
timeout: 5s
retries: 60
ports:
- "9042:9042"
- "9160:9160"
networks:
- fhir
elasticsearch:
image: elasticsearch:7.16.3
container_name: fhir-elasticsearch
hostname: elasticsearch
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "http.host=0.0.0.0"
- "network.host=0.0.0.0"
- "transport.host=127.0.0.1"
- "cluster.name=docker-cluster"
- "xpack.security.enabled=false"
- "discovery.zen.minimum_master_nodes=1"
ports:
- "9200:9200"
networks:
- fhir
networks:
fhir:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment