forked from eea/eea.climateadapt.search
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (41 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
46 lines (41 loc) · 1.22 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
version: "2"
services:
esmaster:
image: eeacms/elastic:1.7.5-1.6
restart: always
command:
- elasticsearch
- -Des.cluster.name="climateadapt"
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
io.rancher.scheduler.affinity:host_label: cca=yes
app:
image: eeacms/esbootstrap:latest
volumes:
- cca-search-code:/code/config
environment:
- elastic_host=esmaster
- APP_CONFIG_DIRNAME=climate-adapt
- NODE_ENV=dev # Change to production if you want to test the app in production environment
entrypoint:
- /node_modules/.bin/nodemon
- /code/app.js
- --watch
- /code/config/*/settings.json
command:
- runserver
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
io.rancher.scheduler.affinity:host_label: cca=yes
io.rancher.sidekicks: esbootstrap-data-config
esbootstrap-data-config:
image: eeacms/climateadapt-search:master
volumes:
- cca-search-code:/code/config
environment:
- DEV_ENV=true
labels:
io.rancher.scheduler.affinity:host_label_ne: reserved=yes
io.rancher.scheduler.affinity:host_label: cca=yes
volumes:
cca-search-code: