pixelbridge-orthanc/docker-compose.yml
2025-01-27 10:21:03 +06:00

102 lines
2.6 KiB
YAML

version: '3.8'
services:
postgres:
image: postgres:17
container_name: postgres
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}
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "${DB_DATABASE}", "-U", "${DB_USERNAME}"]
retries: 3
timeout: 5s
restart: unless-stopped
pgadmin:
container_name: pgadmin
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
orthanc:
container_name: orthanc
image: jodogne/orthanc-plugins
ports:
- 8042:8042
- 4242:4242
volumes:
- ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro
- ${ORTHANC_DB_MNT:-./volumes/orthanc_db}:/var/lib/orthanc/db
- ${ORTHANC_OHIF:-./config/orthanc_ohif.js}:/usr/local/share/orthanc/ohif.js:ro
- ${ORTHANC_LOG:-./volumes/orthanc_logs}:/etc/orthanc/logs
environment:
VERBOSE_ENABLED: "true"
VERBOSE_STARTUP: "true"
DICOM_WEB_PLUGIN_ENABLED: "true"
OHIF_PLUGIN_ENABLED: "true"
VOLVIEW_PLUGIN_ENABLED: "true"
restart: unless-stopped
networks:
pacs:
aliases:
- orthanc
depends_on:
- postgres
ohif:
container_name: ohif
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
- ${VIEWER_CONFIG}:/usr/share/nginx/html/app-config.js:ro
- ./logo.png:/usr/share/nginx/html/logo.png:ro
restart: unless-stopped
networks:
pacs:
aliases:
- ohif
meddream:
image: meddream/dicom-viewer:8.5.0
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
networks:
pacs:
external: true