-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (26 loc) · 820 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (26 loc) · 820 Bytes
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
version: '3'
networks:
neo4j:
driver: bridge
services:
analysis_java:
image: analysis_java
depends_on:
- neo4j
volumes: ## adds app folder to the container
- /Users/xfwu/Workspace/petclinet/:/workspace
networks: ## connects neo4j to app container
- neo4j
ports: ## publish ports
- "8080:8080"
working_dir: /app ## uses work dir /app
neo4j:
image: neo4j:3.4 ## we use neo4j v3
ports: ## publish ports to have Web UI
- "7474:7474"
- "7687:7687"
networks:
- neo4j
volumes: ## adds folder with login/password
- $HOME/neo4j/data:/data
#--env=NEO4J_dbms_memory_pagecache_size=2G --env=NEO4J_dbms_memory_heap_max__size=2G