Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (52 loc) · 1.7 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (52 loc) · 1.7 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
name: nyou045
services:
database:
image: "postgres:16"
restart: always
environment:
POSTGRES_USER: omero
POSTGRES_DB: omero
POSTGRES_PASSWORD: omero
POSTGRES_HOST_AUTH_METHOD: trust
networks:
- omero
volumes:
- "database:/var/lib/postgresql/data"
omeroserver:
# 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"
restart: always
environment:
CONFIG_omero_db_host: database
CONFIG_omero_db_user: omero
CONFIG_omero_db_pass: omero
CONFIG_omero_db_name: omero
CONFIG_omero_web_csrf__trusted__origins: '["https://sc-cer00485.nectar.auckland.ac.nz"]'
ports:
- "4063:4063"
- "4064:4064"
volumes:
- "/data/omero:/OMERO"
- "./ressci202100010-Scotter-Images/Omero Storage/:/OMERO/DropBox/:ro" # Note this is read-only twice for extra safety - once on the CIFS mount, and once in docker
- "./Figure_To_Pdf.py:/opt/omero/server/OMERO.server-5.6.16-ice36/lib/scripts/omero/figure_scripts/Figure_To_Pdf.py"
- "./import.sh:/opt/omero/import.sh"
ulimits:
nofile:
soft: 8192
hard: 65536
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"
restart: always
environment:
OMEROHOST: omeroserver
CONFIG_omero_web_csrf__trusted__origins: '["https://sc-cer00485.nectar.auckland.ac.nz"]'
ports:
- "4080:4080"
networks:
omero:
volumes:
database:
omero: