mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
#
|
|
# The contents of this file are subject to the license and copyright
|
|
# detailed in the LICENSE and NOTICE files at the root of the source
|
|
# tree and available online at
|
|
#
|
|
# http://www.dspace.org/license/
|
|
#
|
|
|
|
#
|
|
# This is a copy of the cli.ingest.yml that is available in the DSpace/DSpace
|
|
# (Backend) at:
|
|
# https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/cli.assetstore.yml
|
|
#
|
|
# Therefore, it should be kept in sync with that file
|
|
version: "3.7"
|
|
|
|
networks:
|
|
dspacenet:
|
|
|
|
services:
|
|
dspace-cli:
|
|
networks:
|
|
dspacenet: {}
|
|
environment:
|
|
- LOADASSETS=https://www.dropbox.com/s/v3ahfcuatklbmi0/assetstore-2019-11-28.tar.gz?dl=1
|
|
entrypoint:
|
|
- /bin/bash
|
|
- '-c'
|
|
- |
|
|
if [ ! -z $${LOADASSETS} ]
|
|
then
|
|
curl $${LOADASSETS} -L -s --output /tmp/assetstore.tar.gz
|
|
cd /dspace
|
|
tar xvfz /tmp/assetstore.tar.gz
|
|
fi
|
|
|
|
/dspace/bin/dspace index-discovery
|
|
/dspace/bin/dspace oai import
|
|
/dspace/bin/dspace oai clean-cache
|