-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·86 lines (80 loc) · 1.93 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '2'
services:
neo4j:
build: ./neo4j
ports:
- 7474:7474
- 7687:7687
environment:
- NEO4J_dbms_security_procedures_unrestricted=apoc.*
- NEO4J_apoc_import_file_enabled=true
- NEO4J_apoc_export_file_enabled=true
- NEO4J_dbms_shell_enabled=true
volumes:
- ./neo4j/data:/var/lib/neo4j/data
mem_limit: 1250m
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
api:
build: ./api
ports:
- 4000:4000
links:
- neo4j
depends_on:
- neo4j
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
elasticsearch:
build: es
volumes:
- ./es/esdata:/usr/share/elasticsearch/data
- ./es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
ports:
- 9200:9200
expose:
- 9300
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
environment:
- "ES_JAVA_OPTS=-Xms400m -Xmx400m"
- bootstrap.memory_lock=true
- cluster.routing.allocation.disk.threshold_enabled=false
- discovery.type=single-node
- http.cors.enabled=true
- http.cors.allow-origin=/https?:\/\/localhost(:[0-9]+)?/
hostname: elasticsearch
mem_limit: 1250m
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
elasticsearch-head:
build: head
ports:
- "9100:9100"
depends_on:
- elasticsearch
https-portal:
image: steveltn/https-portal:1
ports:
- '80:80'
- '443:443'
volumes:
- ./https/data:/var/lib/https-portal
environment:
DOMAINS: 'qa.politylink.jp -> http://qa.politylink.jp:9000, graphql.politylink.jp -> http://qa.politylink.jp:4000, api.politylink.jp -> http://qa.politylink.jp:5000'
STAGE: 'local'
#STAGE: 'production'