-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-chatgse.yaml
68 lines (60 loc) · 1.41 KB
/
docker-compose-chatgse.yaml
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
version: '3.3'
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:
- chatgse
depends_on:
import:
condition: service_completed_successfully
app:
image: biocypher/chatgse:0.3.2
container_name: app
ports:
- "8501:8501"
networks:
- chatgse
depends_on:
import:
condition: service_completed_successfully
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
biocypher_neo4j_volume:
networks:
chatgse: