-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 839 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 839 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
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.8'
services:
neo4j:
image: neo4j:5.15.0
container_name: code-risk-neo4j
ports:
- "7474:7474" # HTTP
- "7687:7687" # Bolt
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_dbms_memory_pagecache_size=512M
- NEO4J_dbms_memory_heap_max__size=1G
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
networks:
- code-risk-network
app:
build: .
container_name: code-risk-analyzer
ports:
- "8080:8080"
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USERNAME=neo4j
- NEO4J_PASSWORD=password
depends_on:
- neo4j
volumes:
- ./configs:/app/configs
- ./logs:/app/logs
networks:
- code-risk-network
volumes:
neo4j_data:
neo4j_logs:
networks:
code-risk-network:
driver: bridge