-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
149 lines (139 loc) · 4.47 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
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
version: "3"
services:
fastapi:
image: "registry.gitlab.cc-asp.fraunhofer.de/reaxpro/fastapi-celery:${BUILD_VERSION:-latest}-production"
ports:
- "${REAXPRO_FASTAPI_PORT:-8080}:8080"
environment:
REAXPRO_REDIS_TYPE: redis
REAXPRO_REDIS_HOST: redis
REAXPRO_REDIS_PORT: 6379
REAXPRO_REDIS_DB: 3
REAXPRO_SCHEMAS: ${REAXPRO_SCHEMAS}
REAXPRO_MINIO_ENDPOINT: minio:9000
REAXPRO_MINIO_USER: ${REAXPRO_MINIO_USER}
REAXPRO_MINIO_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
REAXPRO_FASTAPI_HOST: ${REAXPRO_FASTAPI_HOST:-'0.0.0.0'}
REAXPRO_FASTAPI_PORT: ${REAXPRO_FASTAPI_PORT:-8080}
REAXPRO_AUTHENTICATION_DEPENDENCIES: ${AUTHENTICATION_DEPENDENCIES}
PYTHON_BIN: ${PYTHON_BIN:-python3}
APP_MODE: server
depends_on:
- redis
- minio
networks:
- reaxpro
headworker:
image: "registry.gitlab.cc-asp.fraunhofer.de/reaxpro/fastapi-celery:${BUILD_VERSION:-latest}-production"
environment:
REAXPRO_WORKER_NAME: simphony-workflows
REAXPRO_REDIS_TYPE: redis
REAXPRO_REDIS_HOST: redis
REAXPRO_REDIS_PORT: 6379
REAXPRO_REDIS_DB: 3
REAXPRO_WORKER_MAPPING: ${REAXPRO_WORKER_MAPPING}
REAXPRO_MINIO_ENDPOINT: minio:9000
REAXPRO_MINIO_USER: ${REAXPRO_MINIO_USER}
REAXPRO_MINIO_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
REAXPRO_WORKER_CONCURRENCY: ${REAXPRO_WORKER_CONCURRENCY:-5}
PYTHON_BIN: ${PYTHON_BIN:-python3}
APP_MODE: worker
depends_on:
- redis
- minio
networks:
- reaxpro
catalyticfoam:
image: "registry.gitlab.cc-asp.fraunhofer.de/reaxpro/fastapi-celery:catalyticfoam-${BUILD_VERSION:-latest}-production"
environment:
REAXPRO_WORKER_NAME: simphony-catalyticfoam
REAXPRO_WRAPPER_NAME: osp.wrappers.simcatalyticfoam.simcatalyticfoam:SimCatalyticFoamSession
REAXPRO_REDIS_TYPE: redis
REAXPRO_REDIS_HOST: redis
REAXPRO_REDIS_PORT: 6379
REAXPRO_REDIS_DB: 3
REAXPRO_MINIO_ENDPOINT: minio:9000
REAXPRO_MINIO_USER: ${REAXPRO_MINIO_USER}
REAXPRO_MINIO_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
REAXPRO_WORKER_CONCURRENCY: ${REAXPRO_WORKER_CONCURRENCY:-5}
PYTHON_BIN: ${PYTHON_BIN:-python3}
APP_MODE: worker
depends_on:
- redis
- minio
networks:
- reaxpro
ams:
image: "registry.gitlab.cc-asp.fraunhofer.de/reaxpro/fastapi-celery:${BUILD_VERSION:-latest}-production"
environment:
REAXPRO_WORKER_NAME: simphony-ams
REAXPRO_WRAPPER_NAME: osp.wrappers.simams.simams_session:SimamsSession
REAXPRO_REDIS_TYPE: redis
REAXPRO_REDIS_HOST: redis
REAXPRO_REDIS_PORT: 6379
REAXPRO_REDIS_DB: 3
REAXPRO_MINIO_ENDPOINT: minio:9000
REAXPRO_MINIO_USER: ${REAXPRO_MINIO_USER}
REAXPRO_MINIO_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
REAXPRO_WORKER_CONCURRENCY: ${REAXPRO_WORKER_CONCURRENCY:-5}
PYTHON_BIN: ${PYTHON_BIN:-python3}
AMSHOME: ${AMSHOME}
ADFHOME: ${ADFHOME}
ADFBIN: ${ADFBIN}
AMSBIN: ${AMSBIN}
AMSRESOURCES: ${AMSRESOURCES}
ADFRESOURCES: ${ADFRESOURCES}
SCMLICENSE: ${SCMLICENSE}
APP_MODE: worker
volumes:
- ${AMSHOME}:${AMSHOME}:rw
- ${AMSRESOURCES}:${AMSRESOURCES}:rw
- ${SCMLICENSE}:${SCMLICENSE}:rw
depends_on:
- redis
- minio
networks:
- reaxpro
zacros:
image: "registry.gitlab.cc-asp.fraunhofer.de/reaxpro/fastapi-celery:${BUILD_VERSION:-latest}-production"
environment:
REAXPRO_WORKER_NAME: simphony-zacros
REAXPRO_WRAPPER_NAME: osp.wrappers.simzacros.simzacros_session:SimzacrosSession
REAXPRO_REDIS_TYPE: redis
REAXPRO_REDIS_HOST: redis
REAXPRO_REDIS_PORT: 6379
REAXPRO_REDIS_DB: 3
REAXPRO_MINIO_ENDPOINT: minio:9000
REAXPRO_MINIO_USER: ${REAXPRO_MINIO_USER}
REAXPRO_MINIO_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
REAXPRO_WORKER_CONCURRENCY: ${REAXPRO_WORKER_CONCURRENCY:-5}
PYTHON_BIN: ${PYTHON_BIN:-python3}
APP_MODE: worker
depends_on:
- redis
- minio
networks:
- reaxpro
redis:
image: redis:latest
volumes:
- redis-data:/data
networks:
- reaxpro
minio:
image: quay.io/minio/minio
ports:
- 9000
environment:
MINIO_ROOT_USER: ${REAXPRO_MINIO_USER}
MINIO_ROOT_PASSWORD: ${REAXPRO_MINIO_PASSWORD}
volumes:
- minio-data:/data
command: server /data
networks:
- reaxpro
volumes:
redis-data:
minio-data:
networks:
reaxpro: