-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.gpu.yml
97 lines (86 loc) · 1.89 KB
/
docker-compose.gpu.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
version: "3"
services:
nginx:
build: ./nginx
restart: always
ports:
- "80:80"
networks:
- omero
depends_on:
- omero
- omeroweb
- app
- seg-serve
database:
image: "postgres:11"
environment:
POSTGRES_USER: omero
POSTGRES_DB: omero
POSTGRES_PASSWORD: omero
networks:
- omero
volumes:
- "database:/var/lib/postgresql/data"
omero:
# 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:
- "4063:4063"
- "4064:4064"
volumes:
- "omero:/OMERO"
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:
OMEROHOST: omero
networks:
- omero
ports:
- "4080:4080"
app:
build:
context: "./segui"
dockerfile: "./docker/Dockerfile"
environment:
OMERO_URL: omeroweb:4080
networks:
- omero
depends_on:
- omeroweb
uploader:
build:
context: "./omero-static-upload"
environment:
OMERO_URL: omero
networks:
- omero
depends_on:
- omero
#command: "/bin/bash -c \"sleep 30\" && python main.py"
seg-serve:
build:
context: "./seg-serve"
command: uvicorn --host 0.0.0.0 --root-path /segService main:app
restart: always
runtime: nvidia
networks:
- omero
expose:
- 8000
networks:
omero:
volumes:
database:
omero: