@@ -5,6 +5,8 @@ networks:
55 # Define a custom subnet for our DSpace network, so that we can easily trust requests from host to container.
66 # If you customize this value, be sure to customize the 'proxies.trusted.ipranges' env variable below.
77 - subnet : 172.23.0.0/16
8+ # Explicitly set external=false because this script creates the network.
9+ external : false
810services :
911 # DSpace (backend) webapp container
1012 dspace :
@@ -18,6 +20,9 @@ services:
1820 # dspace__P__dir: /dspace
1921 # dspace__P__server__P__url: http://localhost:8080/server
2022 # dspace__P__ui__P__url: http://localhost:4000
23+ # Set SSR URL to the Docker container name so that UI can contact container directly in Production mode.
24+ # (This is necessary for docker-compose-angular.yml as it uses production mode by default)
25+ dspace__P__server__P__ssr__P__url : http://dspace:8080/server
2126 dspace__P__name : ' DSpace Started with Docker Compose'
2227 # db.url: Ensure we are using the 'dspacedb' image for our database
2328 db__P__url : ' jdbc:postgresql://dspacedb:5432/dspace'
@@ -40,8 +45,6 @@ services:
4045 target : 8080
4146 - published : 8000
4247 target : 8000
43- stdin_open : true
44- tty : true
4548 volumes :
4649 # Keep DSpace assetstore directory between reboots
4750 - assetstore:/dspace/assetstore
@@ -75,8 +78,6 @@ services:
7578 ports :
7679 - published : 5432
7780 target : 5432
78- stdin_open : true
79- tty : true
8081 volumes :
8182 # Keep Postgres data directory between reboots
8283 - pgdata:/pgdata
@@ -96,8 +97,6 @@ services:
9697 ports :
9798 - published : 8983
9899 target : 8983
99- stdin_open : true
100- tty : true
101100 working_dir : /var/solr/data
102101 volumes :
103102 # Keep Solr data directory between reboots
0 commit comments