Open Francescodotta opened 1 year ago
Before deploying, it is necessary to set up the config files. You can copy the template files and modify them.
The following are the configuration for getting started quickly.
.env.template
and rename it to .env
.env
content
MONGODB_NAME="raccoon"
MONGODB_HOSTS=["mongodb"]
MONGODB_PORTS=[27017]
MONGODB_USER="root"
MONGODB_PASSWORD="Raccoon#Admin2Mongo"
MONGODB_SLAVEMODE=false
SERVER_HOST="0.0.0.0" SERVER_PORT=8081
DICOM_STORE_ROOTPATH='/dicomFiles' DICOMWEB_HOST="localhost" DICOMWEB_PORT=8081 DICOMWEB_API="dicom-web"
FHIRSERVER_HTTP="http" FHIRSERVER_APIPATH="api/fhir" FHIRSERVER_HOST="localhost" FHIRSERVER_PORT=8081 FHIR_NEED_PARSE_PATIENT=true
USE_CONDA=false CONDA_PATH="path/conda.exe" CONDA_GDCM_ENV_NAME ="gdcm"
USE_DCM2JPEG_PYTHONAPI=true DCM2JPEG_PYTHONAPI_HOST="127.0.0.1" DCM2JPEG_PYTHONAPI_PORT=5000
# Configure plugin
- Copy `plugin/config.template.js` and rename to `plugin/config.js`
# Configure front-end
- Copy `public/scripts/config.template.js` and rename to `public/scripts/config.js`
- Change `public/scripts/config.js` content
```js
var envConfig = {
QIDO: {
hostName: "127.0.0.1",
port: "8081",
api: "dicom-web",
http: "http"
},
WADO: {
hostName: "127.0.0.1",
port: "8081",
api: "dicom-web",
http: "http"
},
FHIR: {
hostName: "127.0.0.1",
port: "8081",
api: "api/fhir",
http: "http"
},
login: {
enable: false,
jwt: false //*If true, get token from localStorage and add headers for every requests
},
backend: {
baseUrl: "http://localhost:8081"
}
};
I tried to build raccoon and mongo by cloning the repository and then starting the two docker container using the command in the terminal
However it gives me the following error when starting the raccoon container
Is this error occured previously? How can i fix this? Thanks in advance