-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (61 loc) · 2.11 KB
/
docker-compose.yml
File metadata and controls
65 lines (61 loc) · 2.11 KB
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
63
64
65
services:
apache:
container_name: "grapheditor-apache-dev"
build:
context: .
dockerfile: apache/Dockerfile
args:
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
image: "grapheditor-apache-dev"
network_mode: host
volumes:
- './apache/conf/extra/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf'
- './apache/httpd.conf:/usr/local/apache2/conf/httpd.conf'
frontend:
build:
context: .
dockerfile: frontend/Dockerfile
args:
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
image: "grapheditor-frontend-dev"
container_name: "grapheditor-frontend-dev"
network_mode: host
volumes:
- './frontend:/opt/grapheditor-frontend'
- '/opt/grapheditor-frontend/node_modules'
backend:
image: "grapheditor-backend-dev"
build:
context: .
dockerfile: backend/Dockerfile
args:
DOCKER_REGISTRY: ${DOCKER_REGISTRY}
network_mode: host
restart: on-failure
container_name: "grapheditor-backend-dev"
volumes:
- './backend:/opt/grapheditor-backend'
env_file: ./.env
neo4j-enterprise:
image: "${DOCKER_REGISTRY}neo4j:5.26.5-enterprise" # change this to use a different version
container_name: "neo4j-enterprise"
ports:
- "${NEO4J_BOLT_LISTEN_ADDRESS}:7687"
- "${NEO4J_HTTP_LISTEN_ADDRESS}:7474"
- "${NEO4J_HTTPS_LISTEN_ADDRESS}:6477"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes # For development purposes
- NEO4J_dbms_security_procedures_whitelist=gds.*, apoc.*
- NEO4J_dbms_security_procedures_unrestricted=gds.*, apoc.*
- NEO4J_AUTH=${GUI_USER}/${GUI_PASSWORD}
- NEO4J_apoc_export_file_enabled=true
- NEO4J_apoc_trigger_enabled=true
- NEO4J_apoc_trigger_refresh=10000
- NEO4J_PLUGINS=["apoc", "apoc-extended", "graph-data-science"]
- NEO4J_server_memory_heap_initial__size=1g
- NEO4J_server_memory_heap_max__size=2g
- NEO4J_server_memory_pagecache_size=2g
- NEO4J_dbms_usage__report_enabled=false
volumes:
- './neo4j/data:/var/lib/neo4j/data'
- './neo4j/plugins:/var/lib/neo4j/plugins'