-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
51 lines (47 loc) · 1.04 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
volumes:
rabbitmq_data:
rabbitmq_logs:
typesense_data:
services:
aipscan:
build: ./
environment:
- CELERY_BROKER_URL=amqp://guest@rabbitmq//
- TYPESENSE_HOST=typesense
- TYPESENSE_API_KEY=xyz
ports:
- 5000:5000
volumes:
- "./:/src:rw"
rabbitmq:
image: rabbitmq:3-management
container_name: 'rabbitmq'
ports:
- 5672:5672
- 15672:15672
volumes:
- rabbitmq_data:/var/lib/rabbitmq
- rabbitmq_logs:/var/log/rabbitmq
depends_on:
- aipscan
celery-worker:
build: ./
environment:
- CELERY_BROKER_URL=amqp://guest@rabbitmq//
- TYPESENSE_HOST=typesense
- TYPESENSE_API_KEY=xyz
command: celery -A AIPscan.worker.celery worker --loglevel=info
volumes:
- "./:/src:rw"
depends_on:
- rabbitmq
- aipscan
typesense:
image: typesense/typesense:0.26.0.rc23
environment:
TYPESENSE_DATA_DIR: /data
TYPESENSE_API_KEY: xyz
volumes:
- typesense_data:/data
ports:
- 8108:8108