-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-azure.yml
62 lines (59 loc) · 1.7 KB
/
docker-compose-azure.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
52
53
54
55
56
57
58
59
60
61
62
version: "3.9"
services:
neo4j:
image: neo4j:latest
ports:
- 7474:7474
- 7687:7687
volumes:
- neo4j:/data
restart: unless-stopped
environment:
- NEO4J_AUTH=neo4j/${NEO4J_PASSWORD:?error}
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_import_file_use__neo4j__config=true
- NEO4J_PLUGINS=["apoc"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,algo.*
redis-cache:
image: redis:latest
command: redis-server --requirepass ${REDIS_PASSWORD:?error}
restart: unless-stopped
volumes:
- cache:/data
ports:
- ${REDIS_PORT:-6379}:6379
depvis-next:
depends_on:
- neo4j
- redis-cache
build:
context: ./src/depvis-next/
image: ${ACR_NAME:?error}/depvis-next:latest
ports:
- ${DEPVIS_PORT}:3000
restart: always
domainname: ${AZURE_DOMAIN_NAME:-depvis}
environment:
NEO4J_USER: neo4j
NEO4J_PASSWORD: ${NEO4J_PASSWORD:?error}
NEO4J_HOST: ${NEO4J_HOST:-neo4j://neo4j:7687}
REDIS_HOST: redis-cache
REDIS_PORT: ${REDIS_PORT:-6379}
REDIS_PASSWORD: ${REDIS_PASSWORD:?error}
NEXT_PUBLIC_SONATYPE_OSS_AUTH: ${SONATYPE_OSS_AUTH}
NEXT_PUBLIC_SERVER_URI: ${NEXT_PUBLIC_SERVER_URI:-http://localhost:3000}
NEXT_PUBLIC_GRAPH_EXCLUDED_REGEX: ${GRAPH_EXCLUDED_REGEX:-" "}
VULN_DB: ${VULN_DB:-Sonatype}
CORS_ORIGIN: ${CORS_ORIGIN:-http://localhost:3000}
volumes:
cache:
driver: azure_file
driver_opts:
share_name: depviscache
storage_account_name: depvissa
neo4j:
driver: azure_file
driver_opts:
share_name: depvisneo4j
storage_account_name: depvissa