-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (47 loc) · 1.27 KB
/
docker-compose.yml
File metadata and controls
52 lines (47 loc) · 1.27 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
version: '3.8'
services:
flask:
platform: linux/x86_64
image: "ghcr.io/esciencelab/cratey-validator:0.1"
ports:
- "5001:5000"
environment:
- FLASK_APP=cratey.py
- FLASK_ENV=development
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
- MINIO_ENDPOINT=${MINIO_ENDPOINT}
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
- MINIO_BUCKET_NAME=${MINIO_BUCKET_NAME}
depends_on:
- redis
- minio
celery_worker:
platform: linux/x86_64
image: "ghcr.io/esciencelab/cratey-validator:0.1"
command: celery -A app.celery_worker.celery worker --loglevel=info -E
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
depends_on:
- redis
- minio
redis:
image: "redis:alpine"
ports:
- "6379:6379"
minio:
image: "minio/minio"
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
- MINIO_BROWSER_REDIRECT_PORT=9001
command: server --console-address ":9001" /data
volumes:
- minio_data:/data
volumes:
minio_data: