@@ -40,9 +40,6 @@ services:
40
40
db__P__url : ' jdbc:postgresql://dspacedb:543${INSTANCE}/dspace'
41
41
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
42
42
solr__P__server : http://dspacesolr:898${INSTANCE}/solr
43
- # proxies.trusted.ipranges: This setting is required for a REST API running in Docker to trust requests
44
- # from the host machine. This IP range MUST correspond to the 'dspacenet' subnet defined above.
45
- proxies__P__trusted__P__ipranges : ' 172.2${INSTANCE}.0'
46
43
# S3 config
47
44
assetstore__P__index__P__primary : ${S3_STORAGE:-0}
48
45
assetstore__P__s3__P__enabled : ${S3_ENABLED:-false}
@@ -63,11 +60,11 @@ services:
63
60
# BE server port
64
61
- published : 808${INSTANCE}
65
62
target : 8080
66
- host_ip : 127.0.0.1
63
+ host_ip : ${HOST_IP:- 127.0.0.1}
67
64
# original debug port
68
65
- published : 800${INSTANCE}
69
66
target : 8000
70
- host_ip : 127.0.0.1
67
+ host_ip : ${HOST_IP:- 127.0.0.1}
71
68
# handle binary port as per https://www.handle.net/hnr_support.html (5th paragraph)
72
69
- published : 264${INSTANCE}
73
70
target : 2641
@@ -80,7 +77,8 @@ services:
80
77
tty : true
81
78
volumes :
82
79
- dspace_logs:/dspace/log
83
- - assetstore:/dspace/assetstore
80
+ - # assetstore:/dspace/assetstore
81
+ - /opt/DATA/assetstore:/dspace/assetstore
84
82
# Mount DSpace's solr configs to a volume, so that we can share to 'dspacesolr' container (see below)
85
83
- solr_configs:/dspace/solr
86
84
- handle_server:/dspace/handle-server
@@ -95,6 +93,7 @@ services:
95
93
- ' -c'
96
94
- |
97
95
while (!</dev/tcp/dspacedb/543${INSTANCE}) > /dev/null 2>&1; do sleep 1; done;
96
+ pushd ../webapps && unlink server && ln -s /dspace/webapps/server/ 'repository#server' && popd
98
97
/dspace/bin/dspace database migrate force
99
98
custom_run.sh
100
99
/dspace/bin/start-handle-server
@@ -112,7 +111,7 @@ services:
112
111
ports :
113
112
- published : 543${INSTANCE}
114
113
target : 543${INSTANCE}
115
- host_ip : 127.0.0.1
114
+ host_ip : ${HOST_IP:- 127.0.0.1}
116
115
stdin_open : true
117
116
tty : true
118
117
volumes :
@@ -133,7 +132,7 @@ services:
133
132
ports :
134
133
- published : 898${INSTANCE}
135
134
target : 898${INSTANCE}
136
- host_ip : 127.0.0.1
135
+ host_ip : ${HOST_IP:- 127.0.0.1}
137
136
stdin_open : true
138
137
tty : true
139
138
working_dir : /var/solr/data
@@ -164,7 +163,7 @@ services:
164
163
cp -r -u /opt/solr/server/solr/configsets/dspace/statistics/* statistics
165
164
exec solr -p 898${INSTANCE} -f -m 4g
166
165
volumes :
167
- assetstore :
166
+ # assetstore:
168
167
pgdata :
169
168
solr_data :
170
169
# Special volume used to share Solr configs from 'dspace' to 'dspacesolr' container (see above)
0 commit comments