-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (42 loc) · 980 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (42 loc) · 980 Bytes
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
services:
redis:
image: redis:alpine
ports:
- "6379:6379"
neo4j:
image: neo4j:latest
environment:
NEO4J_AUTH: neo4j/password
NEO4J_PLUGINS: '["apoc"]'
NEO4J_dbms_security_procedures_unrestricted: 'apoc.*'
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j_data:/data
app:
build: .
ports:
- "8000:8000"
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=password
- REDIS_URL=redis://redis:6379/0
depends_on:
- redis
- neo4j
command: uvicorn app_main:app --host 0.0.0.0 --port 8000 --reload
celery_worker:
build: .
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=password
- REDIS_URL=redis://redis:6379/0
depends_on:
- redis
- neo4j
command: celery -A src.scouter_app.ingestion.tasks worker --loglevel=info
volumes:
neo4j_data: