services: postgres: image: postgres:alpine container_name: postgres ports: - "5432:5432" networks: wolfland: aliases: - postgres environment: PGPASSWORD: ${PGPASSWORD} POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_DB: ${POSTGRES_DB} PGDATA: ${PGDATA} PGTZ: ${PGTZ} POSTGRES_HOST_AUTH_METHOD: "trust" 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 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}:/var/log/orthanc env_file: - orthanc.env - .env environment: ORTHANC__DICOM_AET: "${ORTHANC_AET}" ORTHANC__POSTGRESQL__HOST: "${POSTGRES_HOST}" restart: unless-stopped networks: wolfland: aliases: - orthanc backend: aliases: - orthanc_backend 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 - ${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: wolfland: aliases: - ohif networks: backend: driver: bridge wolfland: external: true