-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (42 loc) · 943 Bytes
/
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
version: '3.9'
services:
neo4j:
container_name: neo4j
restart: on-failure
build: ./neo4j
# user: "1001:1001"
volumes:
- /neo4j/data:/data
- /neo4j/logs:/logs
- /neo4j/import:/var/lib/neo4j/import
- /neo4j/plugins:/plugins
- /neo4j/dumps:/dumps
ports:
- "7474:7474"
- "7687:7687"
env_file:
- .env
networks:
- db_comm
update:
container_name: update
restart: always
build:
context: ./
dockerfile: ./update/Dockerfile
env_file:
- .env
networks:
- db_comm
networks:
db_comm:
driver: bridge
ipam:
driver: default
# volumes:
# db-backups:
# driver: local
# driver_opts:
# type: nfs
# o: nfsvers=4,addr=${nfsIP},nolock,soft,rw
# device: $nfsPath