-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-demo.yml
182 lines (168 loc) · 3.88 KB
/
docker-compose-demo.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
version: "3.7"
networks:
spex:
services:
# Infrastructures
arangodb:
image: "ghcr.io/genentech/spex.arango:latest"
container_name: spex-arangodb
restart: always
networks:
spex:
aliases:
- spex-arangodb
ports:
- '8529:8529'
env_file:
- ./.env.common.demo
volumes:
- ${HOST_DATA_STORAGE}/arango_demo/spex_db:/var/lib/arangodb3
redisjson:
image: "ghcr.io/genentech/spex.redis:latest"
container_name: spex-redisjson
restart: always
networks:
spex:
aliases:
- spex-redisjson
ports:
- '6379:6379'
# End of Infrastructures
database:
image: "ghcr.io/genentech/spex.omero.postgresql:latest"
environment:
POSTGRES_USER: omero
POSTGRES_DB: omero
POSTGRES_PASSWORD: omero
networks:
- spex
restart: always
omeroserver:
image: "ghcr.io/genentech/spex.omero.server:latest"
environment:
CONFIG_omero_db_host: database
CONFIG_omero_db_user: omero
CONFIG_omero_db_pass: omero
CONFIG_omero_db_name: omero
ROOTPASS: omero
networks:
- spex
ports:
- "4063:4063"
- "4064:4064"
restart: always
depends_on:
- database
omeroweb:
image: "openmicroscopy/omero-web-standalone:5"
environment:
OMEROHOST: omeroserver
networks:
- spex
ports:
- "4080:4080"
restart: always
depends_on:
- omeroserver
# Microservices
ms_omero_sessions:
image: "ghcr.io/genentech/spex.omero.sessions:latest"
container_name: spex-ms-omero-sessions
restart: always
ports:
- '8080:8080'
env_file:
- ./.env.common.demo
environment:
SERVER_NAME: "spex-ms-omero-sessions:8080"
networks:
spex:
aliases:
- spex-ms-omero-sessions
depends_on:
- redisjson
ms_image_loader:
image: "ghcr.io/genentech/spex.omero.image.downloader:latest"
container_name: spex-ms-image-loader
restart: always
env_file:
- ./.env.common.demo
networks:
spex:
aliases:
- spex-ms-image-loader
volumes:
- ${HOST_DATA_STORAGE}:/DATA_STORAGE
depends_on:
- ms_omero_sessions
- redisjson
ms_pipeline_manager:
image: "ghcr.io/genentech/spex.pipeline.manager:latest"
container_name: spex-ms-pipeline-manager
restart: always
env_file:
- ./.env.common.demo
networks:
spex:
aliases:
- spex-ms-collector
depends_on:
- arangodb
ms_job_manager:
image: "ghcr.io/genentech/spex.job.manager:latest"
container_name: spex-ms-job-manager
restart: always
networks:
spex:
aliases:
- spex-job-manager
volumes:
- ${HOST_DATA_STORAGE}:/DATA_STORAGE
- ${HOST_DATA_STORAGE}/scripts:/DATA_STORAGE/scripts
env_file:
- ./.env.common.demo
environment:
- CONFIG_IGNORE_ENV_FILES=True
depends_on:
- arangodb
- redisjson
backend:
image: "ghcr.io/genentech/spex.backend:latest"
container_name: spex-backend
restart: always
networks:
spex:
aliases:
- spex-backend
volumes:
- ${HOST_DATA_STORAGE}:/DATA_STORAGE
- ${HOST_DATA_STORAGE}/scripts:/DATA_STORAGE/Scripts
ports:
- '80:80'
env_file:
- ./.env.common.demo
depends_on:
- arangodb
- redisjson
- omeroserver
frontend:
image: "ghcr.io/genentech/spex.frontend:latest"
container_name: spex-frontend
restart: always
networks:
spex:
aliases:
- spex-frontend
volumes:
- ${HOST_DATA_STORAGE}:/DATA_STORAGE
- ${HOST_DATA_STORAGE}/scripts:/DATA_STORAGE/Scripts
environment:
REACT_APP_BACKEND_URL_ROOT: "http://127.0.0.1/v1/"
depends_on:
- backend
ports:
- '3000:3000'
ulimits:
nofile:
soft: 4096
hard: 8192