-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·155 lines (141 loc) · 2.84 KB
/
docker-compose.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
version: '3'
###
# Fin Server from deployed DockerHub container images
###
services:
###
# Font End NodeJS Application Server
###
server:
image: ucdlib/fin-ucd-lib-server-impl:v1.3.8
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
ports:
- ${HOST_PORT:-3001}:3001
env_file:
- .env
depends_on:
- fcrepo
- redis
- elasticsearch
###
# Fedora Repository
###
fcrepo:
image: ucdlib/fin-fcrepo:v1.3.0
volumes:
- fedora-data:/var/lib/jetty/fedora-data
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
###
# Fedora Postgres Service
###
postgres:
image: ucdlib/fin-postgres:v1.3.0
volumes:
- pg-data:/var/lib/postgresql/data
###
# Trusted Proxy for Services
###
trustedproxy:
image: ucdlib/fin-trusted-proxy:v1.3.0
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
depends_on:
- fcrepo
###
# Session, admin store
###
redis:
image: redis:3.2
volumes:
- redis-data:/data
depends_on:
- fcrepo
###
# UC DAMS Client UI
###
ucd-lib-client:
image: ucdlib/fin-ucd-lib-client:v1.1.3
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
depends_on:
- elasticsearch
###
# ES Indexer
###
essync:
image: ucdlib/fin-essync:v1.1.3
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
depends_on:
- server
###
# Search
###
elasticsearch:
image: ucdlib/fin-elasticsearch:v1.1.3
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- es-data:/usr/share/elasticsearch/data
depends_on:
- fcrepo
###
# IIIF Service
###
loris:
image: ucdlib/fin-loris:v1.0.0
depends_on:
- fcrepo
env_file:
- .env
volumes:
- loris-cache:/var/cache/loris
###
# Tesseract OCR Services
###
tesseract:
image: ucdlib/fin-tesseract:v1.0.1
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
depends_on:
- server
###
# CAS AuthenticationService
###
cas:
image: ucdlib/fin-cas:v1.0.1
volumes:
- ${GCLOUD_SERVICE_ACCOUNT_MOUNT:-service-account}:/etc/fin/webapp-service-account.json
env_file:
- .env
depends_on:
- server
###
# Docker data volumes
###
volumes:
fedora-data:
driver: local
pg-data:
driver: local
es-data:
driver: local
redis-data:
driver: local
loris-cache:
driver: local
service-account:
driver: local