File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ services:
2525 # ## OVERRIDE default 'entrypoint' in 'docker-compose-rest.yml' ####
2626 # Ensure that the database is ready BEFORE starting tomcat
2727 # 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
28- # 2. Then, run database migration to init database tables
28+ # 2. Then, run database migration to init database tables (including any out-of-order ignored migrations, if any)
2929 # 3. (Custom for Entities) enable Entity-specific collection submission mappings in item-submission.xml
3030 # This 'sed' command inserts the sample configurations specific to the Entities data set, see:
3131 # https://github.com/DSpace/DSpace/blob/main/dspace/config/item-submission.xml#L36-L49
@@ -35,7 +35,7 @@ services:
3535 - ' -c'
3636 - |
3737 while (!</dev/tcp/dspacedb/5432) > /dev/null 2>&1; do sleep 1; done;
38- /dspace/bin/dspace database migrate
38+ /dspace/bin/dspace database migrate ignored
3939 sed -i '/name-map collection-handle="default".*/a \\n <name-map collection-handle="123456789/3" submission-name="Publication"/> \
4040 <name-map collection-handle="123456789/4" submission-name="Publication"/> \
4141 <name-map collection-handle="123456789/281" submission-name="Publication"/> \
Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ services:
4646 - solr_configs:/dspace/solr
4747 # Ensure that the database is ready BEFORE starting tomcat
4848 # 1. While a TCP connection to dspacedb port 5432 is not available, continue to sleep
49- # 2. Then, run database migration to init database tables
49+ # 2. Then, run database migration to init database tables (including any out-of-order ignored migrations, if any)
5050 # 3. Finally, start Tomcat
5151 entrypoint :
5252 - /bin/bash
5353 - ' -c'
5454 - |
5555 while (!</dev/tcp/dspacedb/5432) > /dev/null 2>&1; do sleep 1; done;
56- /dspace/bin/dspace database migrate
56+ /dspace/bin/dspace database migrate ignored
5757 catalina.sh run
5858 # DSpace database container
5959 # NOTE: This is customized to use our loadsql image, so that we are using a database with existing test data
You can’t perform that action at this time.
0 commit comments