114 lines
3.0 KiB
YAML
114 lines
3.0 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:alpine
|
|
container_name: postgres
|
|
profiles: [ main ]
|
|
networks:
|
|
pacs:
|
|
aliases:
|
|
- postgres
|
|
environment:
|
|
- PGPASSWORD=${PGPASSWORD}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
|
- PGDATA=${PGDATA}
|
|
- PGTZ=${PGTZ}
|
|
volumes:
|
|
- ${POSTGRES_DATA_MNT}:${PGDATA}:Z
|
|
healthcheck:
|
|
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
|
|
start_period: 20s
|
|
interval: 30s
|
|
retries: 5
|
|
timeout: 5s
|
|
restart: unless-stopped
|
|
|
|
orthanc:
|
|
container_name: orthanc
|
|
profiles: [ main ]
|
|
image: orthancteam/orthanc
|
|
ports:
|
|
- 8042:8042
|
|
- 4242:4242
|
|
volumes:
|
|
- ${ORTHANC_CONFIG:-./config/orthanc}:/etc/orthanc/:ro
|
|
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db:Z
|
|
- ${ORTHANC_OHIF:-./config/ohif/ohif.js}:/usr/local/share/orthanc/ohif.js:ro
|
|
#- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
|
|
environment:
|
|
ORTHANC__NAME: "BlackFish"
|
|
VERBOSE_ENABLED: "true"
|
|
VERBOSE_STARTUP: "true"
|
|
DICOM_WEB_PLUGIN_ENABLED: "true"
|
|
OHIF_PLUGIN_ENABLED: "true"
|
|
VOLVIEW_PLUGIN_ENABLED: "true"
|
|
#OSIMIS_WEB_VIEWER1_PLUGIN_ENABLED: "true"
|
|
restart: unless-stopped
|
|
networks:
|
|
pacs:
|
|
aliases:
|
|
- orthanc
|
|
depends_on:
|
|
- postgres
|
|
|
|
ohif:
|
|
container_name: ohif
|
|
profiles: [ main ]
|
|
image: ohif/app:v3.9.2
|
|
ports:
|
|
- 3000:80
|
|
environment:
|
|
- APP_CONFIG=/usr/share/nginx/html/app-config.js
|
|
volumes:
|
|
- ${NGINX_DEFAULT_CONF}:/etc/nginx/conf.d/default.conf:ro
|
|
- ${NGINX_OHIF_CONF}:/etc/nginx/enabled-sites/ohif.conf:ro
|
|
- ${OHIF_CONFIG}:/usr/share/nginx/html/app-config.js:ro
|
|
- ${OHIF_LOGO}:/usr/share/nginx/html/logo.png:ro
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- orthanc
|
|
networks:
|
|
pacs:
|
|
aliases:
|
|
- ohif
|
|
|
|
meddream:
|
|
image: meddream/dicom-viewer:8.5.0
|
|
profiles: [ extra ]
|
|
container_name: meddream
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:8080"
|
|
networks:
|
|
pacs:
|
|
aliases:
|
|
- meddream
|
|
volumes:
|
|
- ./config/meddream/application.properties:/opt/meddream/application.properties:ro
|
|
#- ./config/meddream/license:/opt/meddream/license:ro
|
|
- ./config/meddream/system.json:/opt/meddream/sys/settings/system.json:ro
|
|
|
|
pgadmin:
|
|
container_name: pgadmin
|
|
profiles: [ extra ]
|
|
image: dpage/pgadmin4:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_MAIL}
|
|
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASS}
|
|
- PGADMIN_CONFIG_SERVER_MODE=${PGADMIN_SERVER}
|
|
- PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED=${PGADMIN_MASTER_PASS}
|
|
ports:
|
|
- 5050:5050
|
|
depends_on:
|
|
- postgres
|
|
networks:
|
|
pacs:
|
|
aliases:
|
|
- pgadmin
|
|
|
|
networks:
|
|
pacs:
|
|
external: true
|