-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
111 lines (104 loc) · 2.96 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: '3.7'
services:
etcd:
container_name: etcd
image: quay.io/coreos/etcd:latest
entrypoint: /usr/local/bin/etcd
command:
- '--name=etcd'
- '--initial-advertise-peer-urls=http://etcd:2380'
- '--listen-peer-urls=http://0.0.0.0:2380'
- '--listen-client-urls=http://0.0.0.0:2379'
- '--advertise-client-urls=http://etcd:2379'
- '--initial-cluster-token=etcd-cluster'
- '--heartbeat-interval=250'
- '--election-timeout=1250'
- '--initial-cluster=etcd=http://etcd:2380'
- '--initial-cluster-state=new'
ports:
- "2379:2379"
- "2380:2380"
restart: always
etcdkeeper:
container_name: etcdkeeper
image: evildecay/etcdkeeper:latest
environment:
HOST: etcdkeeper
ports:
- "8080:8080"
depends_on:
- etcd
restart: always
minio:
container_name: minio
image: minio/minio:latest
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
MINIO_PROMETHEUS_AUTH_TYPE: ${MINIO_PROMETHEUS_AUTH_TYPE}
command: server ${MINIO_VOLUMES} ${MINIO_OPTS}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
restart: always
localstack:
container_name: localstack
image: localstack/localstack:latest
environment:
SERVICES: ${LOCALSTACK_SERVICES}
DEFAULT_REGION: ${LOCALSTACK_DEFAULT_REGION}
ports:
- "4566:4566"
prometheus:
container_name: prometheus
image: prom/prometheus:latest
volumes:
- ./examples/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
grafana:
container_name: grafana
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- ./examples/grafana/grafana.ini:/etc/grafana/grafana.ini
- ./examples/grafana/dashboards:/etc/grafana/provisioning/dashboards
- ./examples/grafana/datasources:/etc/grafana/provisioning/datasources
environment:
GF_SERVER_ROOT_URL: ${GF_SERVER_ROOT_URL}
GF_SECURITY_ADMIN_PASSWORD: ${GF_SECURITY_ADMIN_PASSWORD}
depends_on:
- prometheus
phalanx:
container_name: phalanx
image: mosuka/phalanx:latest
environment:
MINIO_ENDPOINT: minio:9000
MINIO_ACCESS_KEY: ${MINIO_ACCESS_KEY}
MINIO_SECRET_KEY: ${MINIO_SECRET_KEY}
MINIO_REGION_NAME: ${MINIO_REGION_NAME}
MINIO_SESSION_TOKEN: ${MINIO_SESSION_TOKEN}
MINIO_SECURE: ${MINIO_SECURE}
ETCD_ENDPOINTS: etcd:2379
command:
- '--host=phalanx'
- '--bind-port=2000'
- '--grpc-port=5000'
- '--http-port=8000'
- '--roles=indexer,searcher'
- '--index-metastore-uri=etcd://phalanx-metadata'
- '--log-level=info'
ports:
- "2000:2000"
- "5000:5000"
- "8000:8000"
depends_on:
- etcd
- minio
restart: always