forked from Aryamanz29/Elastic-CFC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (44 loc) · 1.16 KB
/
docker-compose.yaml
File metadata and controls
48 lines (44 loc) · 1.16 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
version: '3'
services:
frontend:
container_name: ezlogs-frontend
build: ./frontend
volumes:
- ./frontend:/app
ports:
- "3000:3000"
depends_on:
- backend
backend:
container_name: ezlogs-backend
build: .
volumes:
- .:/app
ports:
- 8000:8000
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULET_BACKEND=redis://redis:6379/0
- ELASTIC_HOST=elasticsearch:9200
depends_on:
- redis
- elasticsearch
celery:
container_name: ezlogs-celery
build: .
command: celery -A core worker -l INFO
environment:
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULET_BACKEND=redis://redis:6379/0
depends_on:
- redis
redis:
container_name: ezlogs-redis
image: redis:alpine
elasticsearch:
container_name: ezlogs-elasticsearch
image: elasticsearch:7.17.0
ports:
- 9200:9200
environment:
- discovery.type=single-node