-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (65 loc) · 1.3 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
version: "3.9"
services:
phpfpm:
image: php:7.4-fpm
volumes:
- ./phpfpm/www.conf:/usr/local/etc/php-fpm.d/www.conf:ro
expose:
- 9000
ports:
- "9000:9000"
nginx:
image: nginx:1.19
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
depends_on:
- phpfpm
grafana:
image: grafana/grafana
ports:
- "3000:3000"
volumes:
- ./grafana/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
telegraf:
image: telegraf:1.9.1
volumes:
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- ./telegraf/env.telegraf
depends_on:
- influxdb
- influxdb_v2
- nginx
- elasticsearch
- mongo
- nodejs
- grafana
influxdb:
image: influxdb:1.8
influxdb_v2:
image: influxdb:2.0
ports:
- "8086:8086"
env_file:
- ./influxdb_v2/env.influxdb_v2
mongo:
image: mongo:4.4.4
expose:
- 27017
elasticsearch:
image: elasticsearch:7.11.2
expose:
- 9200
ports:
- "19200:19200"
environment:
discovery.type: single-node
nodejs:
build:
./nodejs
ports:
- "1337:1337"
- "9615:9615"