File tree 3 files changed +13
-2
lines changed
3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ services:
25
25
- ${VOL_ORTHANC_DB:-vol-orthanc-db}:/var/lib/orthanc/db
26
26
- ${VOL_ORTHANC_IDX:-vol-orthanc-idx}:/var/lib/orthanc/idx
27
27
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}
29
31
wlbroker :
30
32
build :
31
33
context : ./wlbroker
Original file line number Diff line number Diff line change 34
34
35
35
## volume for cal2wl configurations, read-only bind mounted to /opt/config
36
36
#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)
2
2
-- submit a stager job to upload series data to RDM
3
3
local url = os.getenv (' STREAMER_URL' ) .. ' /mri/series/' .. seriesId
4
4
5
- SetHttpCredentials (' admin ' , ' admin ' )
5
+ SetHttpCredentials (os.getenv ( ' STREAMER_USERNAME ' ), os.getenv ( ' STREAMER_PASSWORD ' ) )
6
6
7
7
local answer = HttpPost (url , nil )
8
8
if answer == nil or answer == ' ' then
You can’t perform that action at this time.
0 commit comments