-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
72 lines (65 loc) · 1.59 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
services:
build:
image: biocypher/base:1.2.0
container_name: build
volumes:
- biocypher_neo4j_volume:/usr/app/data
- .:/src/
command:
- /bin/bash
- /src/scripts/build.sh
import:
image: neo4j:4.4-enterprise
container_name: import
environment:
NEO4J_AUTH: none
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
FILL_DB_ON_STARTUP: "yes"
volumes:
- biocypher_neo4j_volume:/data
- ./scripts/import.sh:/scripts/import.sh
command:
- /bin/bash
- /scripts/import.sh
depends_on:
build:
condition: service_completed_successfully
deploy:
image: neo4j:4.4-enterprise
container_name: deploy
volumes:
- biocypher_neo4j_volume:/data
environment:
NEO4J_dbms_security_auth__enabled: "false"
NEO4J_dbms_databases_default__to__read__only: "false"
NEO4J_ACCEPT_LICENSE_AGREEMENT: "yes"
ports:
- "127.0.0.1:7474:7474"
- "127.0.0.1:7687:7687"
networks:
- biochatter
depends_on:
import:
condition: service_completed_successfully
app:
image: biocypher/biochatter-light:0.6.10
container_name: app
ports:
- "8501:8501"
networks:
- biochatter
depends_on:
import:
condition: service_completed_successfully
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- DOCKER_COMPOSE=true
- CHAT_TAB=false
- PROMPT_ENGINEERING_TAB=false
- RAG_TAB=false
- CORRECTING_AGENT_TAB=false
- KNOWLEDGE_GRAPH_TAB=true
volumes:
biocypher_neo4j_volume:
networks:
biochatter: