Files
hapi-fhir-jpaserver-starter/docker-compose.yml
Michele Adduci a3d6fdb52a Updated Libraries, fixed Docker Compose (#908)
* Updated SpringBoot, HAPI FHIR, Docker

* Fixed docker compose

* Fixed Chart README

* Replaced Tomcat image

* Replaced Tomcat image

* Fixing Tomcat image

* Corrected Helm Chart value
2026-01-20 07:59:11 +01:00

36 lines
1.0 KiB
YAML

services:
hapi-fhir-jpaserver-start:
build: .
container_name: hapi-fhir-jpaserver-start
restart: on-failure
environment:
SPRING_DATASOURCE_URL: "jdbc:postgresql://hapi-fhir-postgres:5432/hapi"
SPRING_DATASOURCE_USERNAME: "admin"
SPRING_DATASOURCE_PASSWORD: "admin"
SPRING_DATASOURCE_DRIVER_CLASS_NAME: "org.postgresql.Driver"
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgresDialect
ports:
- "8080:8080"
depends_on:
hapi-fhir-postgres:
condition: service_healthy
hapi-fhir-postgres:
image: postgres:16-alpine
container_name: hapi-fhir-postgres
restart: always
environment:
POSTGRES_DB: "hapi"
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "admin"
healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U admin -d hapi' || exit 1"]
interval: 10s
timeout: 5s
start_period: 5s
retries: 5
volumes:
- hapi-fhir-postgres:/var/lib/postgresql/data
volumes:
hapi-fhir-postgres: