-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
51 lines (51 loc) · 1.19 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
50
51
version: "3.2"
services:
neo4j_testing:
image: neo4j:3.4.5
environment:
- NEO4J_AUTH=none
- NEO4J_dbms_connector_bolt_advertised__address=localhost:17687
- NEO4J_dbms_memory_pagecache_size=100M
ports:
- "17687:7687"
- "16479:6479"
- "17474:7474"
neo4j_dev:
image: neo4j:3.4.5
environment:
- NEO4J_AUTH=none
volumes:
- $HOME/neo4j/data:/data
ports:
- "7687:7687"
- "6479:6479"
- "7474:7474"
elasticsearch_dev:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms512m -Xmx512m
volumes:
- $HOME/elasticsearch/data:/data
ports:
- "9300:9300"
- "9200:9200"
files_nginx:
image: nginx:latest
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./${UPLOAD_FOLDER}:/files
ports:
- "8080:80"
elija:
build: .
depends_on:
- neo4j_dev
- elasticsearch_dev
environment:
- USE_COMPOSE_ENV=TRUE
command: ./wait-for.sh neo4j_dev:7474 --timeout=30 -- ./start-gunicorn.sh
volumes:
- ./${UPLOAD_FOLDER}:/src/uploads
ports:
- "5000:5000"