Skip to content

Commit d4b6459

Browse files
committed
Added doc and undo one removal because it is not needed to remove
1 parent 9ed9d63 commit d4b6459

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/docker-compose-rest.yml

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ services:
4040
db__P__url: 'jdbc:postgresql://dspacedb:543${INSTANCE}/dspace'
4141
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
4242
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'
4346
#S3 config
4447
assetstore__P__index__P__primary: ${S3_STORAGE:-0}
4548
assetstore__P__s3__P__enabled: ${S3_ENABLED:-false}
@@ -163,6 +166,7 @@ services:
163166
cp -r -u /opt/solr/server/solr/configsets/dspace/statistics/* statistics
164167
exec solr -p 898${INSTANCE} -f -m 4g
165168
volumes:
169+
# Commented out because there are a lot of files in the assetstore
166170
#assetstore:
167171
pgdata:
168172
solr_data:

0 commit comments

Comments
 (0)