Skip to content

Commit

Permalink
Bump version of com.fasterxml.jackson dependencies due to upgrade
Browse files Browse the repository at this point in the history
to Java 17

Create docker directory containing template for deployment with
Postgres as Docker Compose project
  • Loading branch information
pbehrend committed Jun 3, 2024
1 parent cb2b3cd commit 0f62e85
Show file tree
Hide file tree
Showing 4 changed files with 368 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ dependencies {
implementation 'ca.uhn.hapi.fhir:hapi-fhir-validation:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-validation-resources-r4:7.2.0'
implementation 'ca.uhn.hapi.fhir:hapi-fhir-client:7.2.0'

// Jackson
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.17.1'
implementation 'com.fasterxml.jackson.core:jackson-core:2.17.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.1'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.1'
implementation 'com.fasterxml.jackson.module:jackson-module-parameter-names:2.17.1'
}

configurations {
Expand Down
1 change: 1 addition & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Directory representing template for deployment of Termite as a Docker Compose project.
35 changes: 35 additions & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
services:
termite:
image: ghcr.io/itcr-uni-luebeck/termite:latest
ports:
- 9083:8083
environment:
- SSL_ENABLED=false
- KEY_STORE_TYPE=PKCS12
- KEY_STORE=security/keystore/termite.p12
- KEY_STORE_PASSWORD=changeme
- KEY_ALIAS=termite
- DATABASE_CONN_URL:jdbc:psql://termite:termite@postgres:5432/termite
depends_on:
postgres:
condition: service_healthy

postgres:
image: postgres
expose:
- 5432
environment:
- POSTGRES_USER=termite
- POSTGRES_PASSWORD=termite
- POSTGRES_DB=termite
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready", "-d", "termite" ]
interval: 10s
timeout: 10s
retries: 5
start_period: 5s

volumes:
postgres-data:
Loading

0 comments on commit 0f62e85

Please sign in to comment.