-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (41 loc) · 1.4 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
version: '3'
services:
web:
image: jrouly/employability-web:latest
container_name: employability-web
ports: ["127.0.0.1:9000:9000"]
environment:
- EMPLOYABILITY_APP_SECRET=overrideme
- ELASTICSEARCH_URL=http://employability-elasticsearch:9200
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
container_name: employability-elasticsearch
ports: ["127.0.0.1:9200:9200", "127.0.0.1:9300:9300"]
environment:
- discovery.type=single-node
- cluster.name=employability
- path.repo=/usr/share/elasticsearch/snapshots/
- repositories.url.allowed_urls=http://net.rouly.employability.s3-website-us-east-1.amazonaws.com/*
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
volumes:
- "data-elasticsearch:/usr/share/elasticsearch/data"
- "./data/elasticsearch-snapshots:/usr/share/elasticsearch/snapshots"
postgres:
image: postgres:10
container_name: employability-postgres
ports: ["127.0.0.1:5432:5432"]
environment:
POSTGRES_USER: employability
POSTGRES_PASSWORD: employability
volumes:
- "data-postgres:/var/lib/postgresql"
kibana:
image: docker.elastic.co/kibana/kibana:6.3.2
container_name: employability-kibana
ports: ["127.0.0.1:5601:5601"]
environment:
- xpack.monitoring.enabled=true
- server.name=employability
volumes:
data-elasticsearch:
data-postgres: