-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
56 lines (50 loc) · 1.36 KB
/
docker-compose.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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
version: '3.3'
networks:
backend:
volumes:
dspace: {}
postgres: {}
services:
postgres:
image: postgres:9.6.2
networks:
backend:
volumes:
- postgres:/var/lib/postgresql/data
dspace:
image: 4science/dspace-cris:cris-5.8.0
# build:
# context: ./
# dockerfile: Dockerfile
# Add meta information to the image
# args:
# Specify the base repository
# - DSPACE_VERSION=""
# - DSPACE_VCS_URL=""
# - DSPACE_VCS_REF=""
# Specify the repository with custom changes
# - MODS_VERSION=""
# - MODS_VCS_URL=""
# - MODS_VCS_REF=""
# - BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"`
# - VCS_REF="${TRAVIS_COMMIT}"
# - VERSION="${TRAVIS_TAG}"
networks:
backend:
environment:
POSTGRES_DB_HOST: postgres
DSPACE_WEBAPPS: "jspui xmlui rest oai rdf sword swordv2"
CATALINA_OPTS: "-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Xmx2048m -Xms2048m -XX:MaxPermSize=512m"
ADMIN_EMAIL: [email protected]
ADMIN_PASSWD: admin123
# ADMIN_FIRSTNAME: DSpace
# ADMIN_LASTNAME: Admin
# ADMIN_LANGUAGE: en
depends_on:
- postgres
volumes:
- dspace:/dspace
ports:
- "8080:8080"