-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.override.example.yml
More file actions
60 lines (53 loc) · 2.16 KB
/
compose.override.example.yml
File metadata and controls
60 lines (53 loc) · 2.16 KB
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
57
58
59
60
# Give your project a personalized name!
name: not-dspace
# You must pick something here! This is configured in overrides to avoid
# potential collisions when standing up other compose stacks (or needing to run
# two SB stacks at once)
networks:
dspacenet:
ipam:
config:
- subnet: 172.23.78.0/24
# "web" must be exposed to the host!
services:
web:
# The ip addr must be in the configured subnet
networks:
dspacenet:
ipv4_address: 172.23.78.240
environment:
# This must be set to the host and port of the URL you use to visit
# Scholars' Bank, not any of the internal URLs!
APACHE_SERVERNAME: localhost:8080
ports:
- 8080:80
angular:
# Overrides for DSpace UI must start with "DSPACE_", replacing dots with
# underscores, and arrays are addressed by giving an index number. The
# HEADTAGS are here for reference, but they aren't actually being respected
# for some reason.
environment:
DSPACE_THEMES_0_NAME: custom
DSPACE_THEMES_0_HEADTAGS_0_TAGNAME: link
DSPACE_THEMES_0_HEADTAGS_0_ATTRIBUTES_REL: icon
DSPACE_THEMES_0_HEADTAGS_0_ATTRIBUTES_HREF: /path/to/favicon-32x32.png
DSPACE_THEMES_0_HEADTAGS_0_ATTRIBUTES_SIZES: any
# Uncomment to expose 4000 directly, e.g., to debug the frontend without
# going through Apache httpd
#ports:
# - 4000:4000
rest:
environment:
# Example maven flags from the original DSpace docker setup for faster
# build (but probably harder to debug? Comments didn't make it clear what
# the downside is)
MAVEN_FLAGS: -P-test-environment -Denforcer.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Dxml.skip=true
# Give your site a fancy name!
dspace__P__name: 'My First DSpace'
# These are mandatory, and must match the *public* URL, not the internal
# URL. If you use 8080 for the port in the "web" service above, these
# settings will work as-is.
dspace__P__server__P__url: http://localhost:8080/server
dspace__P__ui__P__url: http://localhost:8080
# This needs to match the dspacenet range
proxies__P__trusted__P__ipranges: "172.23.78.0/24"