orthanc: container_name: orthanc image: orthancteam/orthanc depends_on: - postgres restart: always healthcheck: test: [ "CMD-SHELL", "curl -f http://${ORTHUSER}:${ORTHPASS}@localhost:8042/series || exit 1", ] interval: 10s retries: 5 timeout: 10s ports: - "4242:4242" networks: - frontend - backend environment: - ORTHANC__PLUGINS=${PLUGINS} - DICOM_WEB_PLUGIN_ENABLED=true - POSTGRESQL_PLUGIN_ENABLED=true - VERBOSE_ENABLED=true - TRANSFERS_PLUGIN_ENABLED=true - PYTHON_PLUGIN_ENABLED=true - HOUSEKEEPER_PLUGIN_ENABLED=true - CONNECTIVITY_CHECKS_PLUGIN_ENABLED=true - GDCM_PLUGIN_ENABLED=true - AWS_S3_STORAGE_PLUGIN_ENABLED=true - ORTHANC__NAME=${ORTHANC_NAME} - ORTHANC__POSTGRESQL__ENABLE_INDEX=true - ORTHANC__POSTGRESQL__INDEX_CONNECTIONS_COUNT=5 - ORTHANC__POSTGRESQL__ENABLE_STORAGE=false - ORTHANC__POSTGRESQL__HOST=${POSTGRES_HOST} - ORTHANC__POSTGRESQL__PORT=${POSTGRES_PORT} - ORTHANC__POSTGRESQL__DATABASE=${ORTHANC_DBNAME} - ORTHANC__POSTGRESQL__USERNAME=${POSTGRES_USER} - ORTHANC__POSTGRESQL__PASSWORD=${POSTGRES_PASSWORD} - ORTHANC__DICOM_AET=${ORTHANC_DICOM_AET} - ORTHANC__REGISTERED_USERS=${ORTHANC_REGISTERED_USERS} - ORTHANC__ORTHANC_PEERS=${ORTHANC_PEERS} - ORTHANC__AWS_S3_STORAGE__BUCKET_NAME=${S3_BUCKET} - ORTHANC__AWS_S3_STORAGE__REGION=${S3_REGION} - ORTHANC__AWS_S3_STORAGE__ACCESS_KEY=${S3_ACCESSKEY} - ORTHANC__AWS_S3_STORAGE__SECRET_KEY=${S3_SECRETKEY} - ORTHANC__AWS_S3_STORAGE__ROOT_PATH=${S3_ROOTPATH} - ORTHANC__AWS_S3_STORAGE__ENABLE_LEGACY_UNKNOWN_FILES=true - ORTHANC__INGEST_TRANSCODING=1.2.840.10008.1.2.4.50 - ORTHANC__HTTP_COMPRESSION_ENABLED=true - ORTHANC__HTTP_TIMEOUT=180 - ORTHANC__HTTPS_CA_CERTIFICATES=${HTTPCERT} - ORTHANC__LIMIT_FIND_RESULTS=100 - ORTHANC__LIMIT_FIND_INSTANCES=100 - ORTHANC__STORAGE_ACCESS_ON_FIND=Never - ORTHANC__QUERY_RETRIEVE_SIZE=100 - ORTHANC__RLE_TRANSFER_SYNTAX_ACCEPTED=false - ORTHANC__MAXIMUM_STORAGE_CACHE_SIZE=8000 - ORTHANC__REMOTE_ACCESS_ALLOWED=true - ORTHANC__OVERWRITE_INSTANCES=true - TZ=America/New_York logging: options: max-size: "1m" max-file: "3"