Hi all
I’m considering a switch from the OHIF viewer to the osimis plugin. I’ve been running my setup with docker-compose and I’m using version 3, but all of the examples I can find are for docker-compose version 2. So I thought I would just try swapping the images. I’ve got my dicom data in a postgres database. My docker-compose file looks like
version: ‘3.6’
services:
orthanc:
image: osimis/orthanc
container_name: orthanc
depends_on:
- postgres
volumes: - ${ORTHANC_CONFIG:-./config/orthanc.json}:/etc/orthanc/orthanc.json:ro
postgres:
image: postgres:11
container_name: postgres
volumes:
- ${POSTGRES_DATA_MNT:-/orthadb/postgresql/data/pgdata}:${PGDATA:-/var/lib/postgresql/data}
environment: - POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-NOT_MY_ACTUAL_PASSWORD}
- PGDATA=${PGDATA:-/var/lib/postgresql/data}
- POSTGRES_DB=orthanc
When I run it, orthanc dies as follows:
orthanc | STORAGE: Generating ‘/etc/orthanc/storage.json’…
orthanc | AC: Generating ‘/etc/orthanc/remote-access.json’…
orthanc | HTTP: Generating ‘/etc/orthanc/http.json’…
orthanc | GENERAL: ‘/etc/orthanc/orthanc.json’ taking precendence over related env vars (file might have been generated from env vars during a previous run)
orthanc | PLUGINS: Generating ‘/etc/orthanc/plugins.json’…
orthanc | Startup command: Orthanc /etc/orthanc
orthanc | W1002 19:43:25.663580 main.cpp:1442] Orthanc version: 1.5.7
orthanc | W1002 19:43:25.665055 OrthancConfiguration.cpp:113] Scanning folder “/etc/orthanc” for configuration files
orthanc | W1002 19:43:25.665169 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/http.json”
orthanc | W1002 19:43:25.665380 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/remote-access.json”
orthanc | W1002 19:43:25.665496 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/plugins.json”
orthanc | W1002 19:43:25.665596 OrthancConfiguration.cpp:61] Reading the configuration from: “/etc/orthanc/orthanc.json”
orthanc | E1002 19:43:25.666141 OrthancException.h:85] Bad file format: The configuration section “AuthenticationEnabled” is defined in 2 different configuration files
orthanc | E1002 19:43:25.666271 main.cpp:1468] Uncaught exception, stopping now: [Bad file format] (code 15)
orthanc | W1002 19:43:25.666387 main.cpp:1501] Orthanc has stopped
Any suggestions would be much appreciated. Pointers to working docker-compose version 3 examples would also be helpful. I apologize if this is the wrong place to post this question.
Thanks
Howard