-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (49 loc) · 1.15 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
version: '3'
services:
neo4j:
container_name: neo4j
image: neo4j:3.5.17
volumes:
- ./server/neo4j/data:/data
- ./server/neo4j/logs:/logs
- ./server/neo4j/import:/var/lib/neo4j/import
- ./server/neo4j/plugins:/plugins
- ./server/neo4j/conf:/conf
restart: always
environment:
- NEO4J_AUTH=neo4j/test
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_dbms_security_procedures_whitelist=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_uuid_enabled=true
- NEO4JLABS_PLUGINS=["apoc"]
networks:
- neo4j-net
ports:
- '7474:7474'
- '7687:7687'
app:
container_name: nuxttrial-server
image: nuxttrial-server
build: ./server/
networks:
- neo4j-net
ports:
- '8080:8080'
depends_on:
- neo4j
environment:
- NEO4J_PROTO=bolt
- NEO4J_HOST=neo4j
- NEO4J_PORT=7687
- NEO4J_USER=neo4j
- NEO4J_PASS=test
frontend:
container_name: nuxttrial-frontend
image: nuxttrial-frontend
build: ./frontend/
ports:
- '5000:5000'
networks:
neo4j-net:
driver: 'bridge'