-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.target.yml
More file actions
46 lines (46 loc) · 980 Bytes
/
docker-compose.target.yml
File metadata and controls
46 lines (46 loc) · 980 Bytes
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
version: '2'
services:
search:
image: library/elasticsearch:2.4.4
restart: on-failure
environment:
- transport.host=127.0.0.1
- http.host=0.0.0.0
ports:
- "9200:9200"
varnish:
image: eeacms/varnish
restart: on-failure
ports:
- "80:6081"
depends_on:
- web
environment:
CACHE_SIZE: 128M
BACKENDS: "web"
BACKENDS_PORT: "8000"
BACKENDS_PROBE_ENABLED: "False"
BACKENDS_PROBE_INTERVAL: 2s
BACKENDS_PROBE_WINDOW: "3"
BACKENDS_PROBE_THRESHOLD: "1"
cli:
env_file: production.env
environment:
DEBUG: "0"
ALLOWED_HOSTS: "*"
SEARCH_URL: elasticsearch2://search:9200/haystack
depends_on:
- db
- search
- cache
web:
env_file: production.env
environment:
DEBUG: "0"
ALLOWED_HOSTS: "*"
SEARCH_URL: elasticsearch2://search:9200/haystack
depends_on:
- db
- search
- cache
ports: []