-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
65 lines (61 loc) · 1.79 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
# Provides the Elasticsearch Kibana stack for local development. See
# README.md for instructions on use.
---
version: '3'
services:
elasticsearch:
build:
context: .
dockerfile: Dockerfile-elasticsearch
container_name: elasticsearch
# environment: ['http.host=0.0.0.0', 'transport.host=127.0.0.1', 'ELASTIC_PASSWORD=${ELASTIC_PASSWORD}']
environment: ['http.host=0.0.0.0', 'transport.host=127.0.0.1']
ports: ['127.0.0.1:9200:9200', '127.0.0.1:9300:9300']
networks: ['es_stack']
kibana:
build:
context: .
dockerfile: Dockerfile-kibana
container_name: kibana
# environment:
# - ELASTICSEARCH_USERNAME=kibana
# - ELASTICSEARCH_PASSWORD=${ELASTIC_PASSWORD}
ports: ['127.0.0.1:5601:5601']
networks: ['es_stack']
depends_on: ['elasticsearch']
agent:
build:
context: .
dockerfile: Dockerfile-agent
container_name: agent
environment:
AWS_ACCESS_KEY_ID: "foo"
AWS_SECRET_ACCESS_KEY: "bar"
ELASTICSEARCH_SERVICE_HOST: "elasticsearch"
ELASTICSEARCH_SERVICE_PORT: "9200"
ELASTICSEARCH_PORT_9200_PROTO: "http"
ELASTICSEARCH_USER: "elastic"
ELASTICSEARCH_PASSWORD: "changeme"
ELASTICSEARCH_VERIFY: "false"
KINESIS_STREAM: "MetadataIsAvailable"
KINESIS_SHARD_ID: "0"
KINESIS_ENDPOINT: "https://localstack:4568"
KINESIS_VERIFY: "false"
KINESIS_START_TYPE: "TRIM_HORIZON"
LOGLEVEL: 20
networks:
- es_stack
depends_on:
- localstack
- elasticsearch
localstack:
image: atlassianlabs/localstack
container_name: localstack
networks:
- es_stack
ports:
- "5568:4568"
environment:
USE_SSL: 'true'
DEBUG: 'true'
networks: {es_stack: {}}