forked from InternetHealthReport/internet-yellow-pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (46 loc) · 1.06 KB
/
docker-compose.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
version: '3.9'
services:
iyp_loader:
image: neo4j/neo4j-admin:5.16.0
profiles: ["local", "public"]
container_name: iyp_loader
tty: true
stdin_open: true
volumes:
- ./data:/data
- ./dumps:/dumps
- ./backups:/backups
command: neo4j-admin database load neo4j --from-path=/dumps --verbose
iyp:
image: neo4j:5.16.0
profiles: ["local"]
container_name: iyp
restart: unless-stopped
ports:
- 7474:7474
- 7687:7687
volumes:
- ./data:/data
environment:
- NEO4J_AUTH=neo4j/password
depends_on:
iyp_loader:
condition: service_completed_successfully
iyp_readonly:
image: neo4j:5.16.0
profiles: ["public"]
container_name: iyp
restart: unless-stopped
ports:
- 7473:7473
- 7687:7687
volumes:
- ./data:/data
- ./public/certificates:/ssl
- ./public/conf:/conf
- ./public/logs:/logs
environment:
- NEO4J_AUTH=neo4j/password
depends_on:
iyp_loader:
condition: service_completed_successfully