-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-develop.yml
More file actions
57 lines (52 loc) · 1.33 KB
/
docker-compose-develop.yml
File metadata and controls
57 lines (52 loc) · 1.33 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
version: '3.8'
services:
flask:
build:
context: .
dockerfile: Dockerfile
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}
- PROFILES_PATH=/app/profiles
depends_on:
- redis
- minio
celery_worker:
build:
context: .
dockerfile: Dockerfile
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
volumes:
- ./tests/data/rocrate_validator_profiles:/app/profiles:ro
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: