-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·49 lines (48 loc) · 1 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
version: "2"
services:
loader:
build: .
environment:
DATABASE_URL: db
volumes:
- loader_data:/code
network_mode: "bridge"
depends_on:
- db
- es
db:
restart: always
build: ./neo4j/
environment:
NEO4J_AUTH: none
# Tuning
# NEO4J_dbms_memory_pagecache_size: 8G
# NEO4J_dbms_memory_heap_initial__size: 4G
# NEO4J_dbms_memory_heap_max__size: 4G
volumes:
- db_data:/data
depends_on:
- es
network_mode: "bridge"
ports:
- "7687:7687"
- "7474:7474"
- "7473:7473"
es:
restart: always
image: elasticsearch:2.4
volumes:
- es_data:/usr/share/elasticsearch/data
network_mode: "bridge"
ports:
- "9200:9200"
volumes:
loader_data:
db_data:
es_data:
# https://docs.openstack.org/project-deploy-guide/kolla-ansible/ocata/quickstart.html#build-container-images
networks:
default:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450