forked from Habush/biocypher-metta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 1.1 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
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"
depends_on:
import:
condition: service_completed_successfully
volumes:
biocypher_neo4j_volume: