-
Notifications
You must be signed in to change notification settings - Fork 17
/
dspace-cli.yml
39 lines (36 loc) · 1.29 KB
/
dspace-cli.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# DSpace License: DSPACE_LICENSE file in root of this project.
# Details available online at: http://www.dspace.org/license/
#
# This is a copy of the docker-compose-cli.yml that is available in the DSpace/DSpace
# (Backend) at:
# https://github.com/DSpace/DSpace/blob/main/docker-compose-cli.yml
#
# Therefore, it should be kept in sync with that file
services:
dspace-cli:
image: "${DOCKER_OWNER:-dspace}/dspace-cli:dspace-7.6"
container_name: dspace-cli
environment:
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml
# __P__ => "." (e.g. dspace__P__dir => dspace.dir)
# __D__ => "-" (e.g. google__D__metadata => google-metadata)
# dspace.dir
dspace__P__dir: /dspace
# db.url: Ensure we are using the 'dspacedb' image for our database
db__P__url: 'jdbc:postgresql://dspacedb:5432/dspace'
# solr.server: Ensure we are using the 'dspacesolr' image for Solr
solr__P__server: http://dspacesolr:8983/solr
volumes:
- "assetstore:/dspace/assetstore"
entrypoint: /dspace/bin/dspace
command: help
networks:
- back
tty: true
stdin_open: true
volumes:
assetstore:
networks:
back: