-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
75 lines (68 loc) · 2.03 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: "3"
services:
database:
image: "postgres:11"
environment:
POSTGRES_USER: omero
POSTGRES_DB: omero
POSTGRES_PASSWORD: omero
networks:
- omero
volumes:
- "database:/var/lib/postgresql/data"
omeroserver-readwrite:
# This container uses the tag for the latest server release of OMERO 5
# To upgrade to the next major release, increment the major version number
image: "openmicroscopy/omero-server:5"
environment:
CONFIG_omero_db_host: database
CONFIG_omero_db_user: omero
CONFIG_omero_db_pass: omero
CONFIG_omero_db_name: omero
ROOTPASS: omero
networks:
- omero
ports:
- "4064"
volumes:
- "omero:/OMERO"
omeroserver-readonly:
# This container uses the tag for the latest server release of OMERO 5
# To upgrade to the next major release, increment the major version number
image: "openmicroscopy/omero-server:5"
environment:
# TODO: setup read-only user in postgresql
CONFIG_omero_db_host: database
CONFIG_omero_db_user: omero
CONFIG_omero_db_pass: omero
CONFIG_omero_db_name: omero
ROOTPASS: omero
CONFIG_omero_cluster_read__only: "true"
CONFIG_omero_pixeldata_memoizer_dir_local: "/tmp/BioFormatsCache"
networks:
- omero
ports:
- "4064"
volumes:
- "omero:/OMERO:ro"
depends_on:
- "database"
- "omeroserver-readwrite"
- "omeroweb"
# Wait as long as possible though it may be necessary
# to restart readonly if it fails on DB creation.
omeroweb:
# This container uses the tag for the latest web release of OMERO 5
# To upgrade to the next major release, increment the major version number
image: "openmicroscopy/omero-web-standalone:5"
environment:
CONFIG_omero_web_server__list: '[["omeroserver-readonly", 4064, "read-only"], ["omeroserver-readwrite", 4064, "read-write"]]'
networks:
- omero
ports:
- "4080:4080"
networks:
omero:
volumes:
database:
omero: