-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
105 lines (97 loc) · 2.23 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
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
version: '3.9'
services:
db:
image: postgres:13
restart: unless-stopped
hostname: db
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- chemotion_db:/var/lib/postgresql/data/
networks:
- chemotion
msconvert:
image: ptrxyz/chemotion:msconvert-1.6.0
restart: unless-stopped
hostname: msconvert
volumes:
- spectra:/shared:rw
networks:
- chemotion
spectra:
image: ptrxyz/chemotion:spectra-1.6.0
restart: unless-stopped
hostname: spectra
volumes:
- spectra:/shared:rw
depends_on:
- msconvert
networks:
- chemotion
command: ["gunicorn", "--timeout", "600", "-w", "4", "-b", "0.0.0.0:4000", "server:app"]
worker:
image: ptrxyz/chemotion:eln-1.6.0
restart: unless-stopped
environment:
- CONFIG_ROLE=worker
- SECRET_KEY_BASE=pleasechangeme
depends_on:
- db
- eln
- spectra
volumes:
- chemotion_data:/chemotion/data/
- chemotion:/chemotion/app
networks:
- chemotion
eln:
image: ptrxyz/chemotion:eln-1.6.0
restart: unless-stopped
environment:
- CONFIG_ROLE=eln
- SECRET_KEY_BASE=pleasechangeme
depends_on:
- db
- spectra
volumes:
- ./shared/pullin:/shared
- ./shared/backup:/backup
- chemotion_data:/chemotion/data/
- chemotion:/chemotion/app
ports:
- 4000:4000
networks:
- chemotion
ketchersvc:
image: ptrxyz/chemotion:ketchersvc-1.6.0
restart: unless-stopped
environment:
- CONFIG_KETCHER_URL=http://eln:4000/ketcher/
init: true
depends_on:
eln:
condition: service_healthy
networks:
- chemotion
converter:
image: ptrxyz/chemotion:converter-1.6.0
restart: unless-stopped
environment:
- SECRET_KEY=imsupersecretandwanttobechanged
volumes:
- ./services/converter/profiles:/srv/chemotion/profiles
- ./services/converter/datasets:/srv/chemotion/datasets
networks:
- chemotion
volumes:
chemotion:
name: chemotion_app
chemotion_data:
name: chemotion_data
chemotion_db:
name: chemotion_db
spectra:
name: chemotion_spectra
networks:
chemotion: