-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
57 lines (55 loc) · 1.06 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
version: '3'
services:
hip:
build: .
ports:
- "9052:80"
depends_on:
- db
- rabbitmq
- otp
otp:
build: src/In.ProjectEKA.OtpService/.
depends_on:
- db
db:
image: "postgres:latest"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=welcome
ports:
- "5432:5432"
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
rabbitmq:
image: "rabbitmq:3"
ports:
- "5672:5672"
filebeat:
container_name: filebeat
build:
context: .
dockerfile: filebeat.Dockerfile
volumes:
- ./logs:/var/log
networks:
- elk
logstash:
build:
context: logstash/
volumes:
- ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro
- ./logstash/pipeline:/usr/share/logstash/pipeline:ro
ports:
- "5044:5044"
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- elk
volumes:
postgresql:
postgresql_data:
networks:
elk:
external: true