-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (92 loc) · 2.17 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
---
version: "3"
services:
redis:
image: redis:4.0.2-alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data/redisdata:/data
db:
build:
context: .
dockerfile: docker/db/Dockerfile
ports:
- "127.0.0.1:5432:5432"
volumes:
- ./data/pgdata:/var/lib/postgresql/data/
depends_on:
- redis
links:
- redis
environment:
POSTGRES_USER: 'pguser'
POSTGRES_PASSWORD: 'supersecret'
POSTGRES_DB: 'yamsdb'
app_tracker:
build:
context: .
dockerfile: docker/app_tracker/Dockerfile
# command: "/bin/bash /tracker/start.sh"
command: "/usr/local/bin/python /tracker/main.py"
depends_on:
- db
- redis
links:
- db
- redis
app_recv_btrx:
build:
context: .
dockerfile: docker/app_recv_btrx/Dockerfile
command: "/bin/bash /recv_btrx/start.sh"
depends_on:
- redis
links:
- redis
app_analyze:
build:
context: .
dockerfile: docker/app_analyze/Dockerfile
command: "/bin/bash /analyzer/start.sh"
depends_on:
- redis
- app_tracker
- grafinflux
links:
- redis
- grafinflux
grafinflux:
build:
context: .
dockerfile: docker/grafinflux/Dockerfile
command: "/usr/bin/supervisord -c /etc/supervisord.d/supervisord.conf"
ports:
- "127.0.0.1:80:80"
- "127.0.0.1:8083:8083"
- "127.0.0.1:8086:8086"
- "127.0.0.1:2003:2003"
volumes:
- ./data/grafinflux/influxdb:/var/lib/influxdb
- ./data/grafinflux/var_log_supervisor:/var/log/supervisor
# elasticsearch:
# image: docker.elastic.co/elasticsearch/elasticsearch:5.5.0
# volumes:
# - ./docker/config-es/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
# - ./data/es:/usr/share/elasticsearch/data
# ports:
# - "9200:9200"
# - "9300:9300"
# restart: always
# environment:
# ES_JAVA_OPTS: "-Xmx256m -Xms256m"
#
# kibana:
# image: docker.elastic.co/kibana/kibana:5.5.0
# volumes:
# - ./docker/config-ki/:/usr/share/kibana/config
# ports:
# - "5601:5601"
# links:
# - elasticsearch
# restart: always