@@ -17,6 +17,10 @@ networks:
1717 # Define a custom subnet for our DSpace network, so that we can easily trust requests from host to container.
1818 # If you customize this value, be sure to customize the 'proxies.trusted.ipranges' env variable below.
1919 - subnet : 172.23.0.0/16
20+ # Explicitly set external=false because this script creates the network.
21+ # NOTE: Because of how compose files are merged, this script should be specified LAST when passed
22+ # to "docker compose" for the network to be created properly.
23+ external : false
2024services :
2125 # DSpace (backend) webapp container
2226 dspace :
@@ -36,6 +40,8 @@ services:
3640 db__P__url : ' jdbc:postgresql://dspacedb:5432/dspace'
3741 # solr.server: Ensure we are using the 'dspacesolr' image for Solr
3842 solr__P__server : http://dspacesolr:8983/solr
43+ # matomo.tracker.url: Ensure we are using the 'matomo' image for Matomo
44+ matomo__P__tracker__P__url : http://matomo
3945 # proxies.trusted.ipranges: This setting is required for a REST API running in Docker to trust requests
4046 # from the host machine. This IP range MUST correspond to the 'dspacenet' subnet defined above.
4147 proxies__P__trusted__P__ipranges : ' 172.23.0'
@@ -126,6 +132,8 @@ services:
126132 cp -r /opt/solr/server/solr/configsets/qaevent/* qaevent
127133 precreate-core suggestion /opt/solr/server/solr/configsets/suggestion
128134 cp -r /opt/solr/server/solr/configsets/suggestion/* suggestion
135+ precreate-core audit /opt/solr/server/solr/configsets/audit
136+ cp -r /opt/solr/server/solr/configsets/audit/* audit
129137 chown -R solr:solr /var/solr
130138 runuser -u solr -- solr-foreground
131139volumes :
0 commit comments