File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ services:
2525 - ${VOL_ORTHANC_DB:-vol-orthanc-db}:/var/lib/orthanc/db
2626 - ${VOL_ORTHANC_IDX:-vol-orthanc-idx}:/var/lib/orthanc/idx
2727 environment :
28- - STREAMER_URL=http://streamer:3001
28+ - STREAMER_URL=${STREAMER_URL:-http://streamer:3001}
29+ - STREAMER_USERNAME=${STREAMER_USERNAME}
30+ - STREAMER_PASSWORD=${STREAMER_PASSWORD}
2931 wlbroker :
3032 build :
3133 context : ./wlbroker
Original file line number Diff line number Diff line change 3434
3535## volume for cal2wl configurations, read-only bind mounted to /opt/config
3636#VOL_CAL2WL_CONFIG=./cal2wl/config
37+
38+ ## STEAMER URL
39+ #STREAMER_URL=http://streamer:3001
40+
41+ ## STEAMER USERNAME
42+ #STREAMER_USERNAME=admin
43+
44+ ## STEAMER PASSWORD
45+ #STREAMER_PASSWORD=admin
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ function submitStreamerJob(seriesId)
22 -- submit a stager job to upload series data to RDM
33 local url = os.getenv (' STREAMER_URL' ) .. ' /mri/series/' .. seriesId
44
5- SetHttpCredentials (' admin ' , ' admin ' )
5+ SetHttpCredentials (os.getenv ( ' STREAMER_USERNAME ' ), os.getenv ( ' STREAMER_PASSWORD ' ) )
66
77 local answer = HttpPost (url , nil )
88 if answer == nil or answer == ' ' then
You can’t perform that action at this time.
0 commit comments