Commits
Tim Donohue authored 804905d62e8
1 + | # |
2 + | # The contents of this file are subject to the license and copyright |
3 + | # detailed in the LICENSE and NOTICE files at the root of the source |
4 + | # tree and available online at |
5 + | # |
6 + | # http://www.dspace.org/license/ |
7 + | # |
8 + | |
9 + | # |
10 + | # This is a copy of the cli.ingest.yml that is available in the DSpace/DSpace |
11 + | # (Backend) at: |
12 + | # https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/cli.assetstore.yml |
13 + | # |
14 + | # Therefore, it should be kept in sync with that file |
1 15 | version "3.7" |
2 16 | |
3 17 | networks |
4 18 | dspacenet |
5 19 | |
6 20 | services |
7 21 | dspace-cli |
8 22 | networks |
9 23 | dspacenet |
10 24 | environment |
11 - | zv7lj8j2lp3egjs/assetstore.tar.gz?dl=1 | LOADASSETS=https://www.dropbox.com/s/
25 + | v3ahfcuatklbmi0/assetstore-2019-11-28.tar.gz?dl=1 | LOADASSETS=https://www.dropbox.com/s/
12 26 | entrypoint |
13 27 | /bin/bash |
14 28 | '-c' |
15 29 | | |
16 30 | if | ! -z $$ LOADASSETS
17 31 | then |
18 32 | curl $$ | LOADASSETS -L -s --output /tmp/assetstore.tar.gz
19 33 | cd /dspace |
20 34 | tar xvfz /tmp/assetstore.tar.gz |
21 35 | fi |
22 36 | |
23 37 | /dspace/bin/dspace index-discovery |
38 + | /dspace/bin/dspace oai import |
39 + | /dspace/bin/dspace oai clean-cache |