forked from apmaros/dataengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
60 lines (58 loc) · 1.26 KB
/
docker-compose.yaml
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
version: "3.3"
services:
grafana:
image: grafana/grafana
depends_on:
- influxdb
ports:
- "3000:3000"
volumes:
- grafana:/var/lib/grafana
environment:
GF_INSTALL_PLUGINS: "grafana-clock-panel,grafana-simple-json-datasource"
links:
- influxdb
influxdb:
image: influxdb:2.0
volumes:
- influxdb:/var/lib/influxdb
- influxdb2:/var/lib/influxdb2
- ./influxdb-config.yml:/etc/influxdb2/config.yml
environment:
DOCKER_INFLUXDB_INIT_MODE: upgrade
DOCKER_INFLUXDB_INIT_USERNAME: admin
DOCKER_INFLUXDB_INIT_PASSWORD: admin
DOCKER_INFLUXDB_INIT_ORG: org
DOCKER_INFLUXDB_INIT_BUCKET: bucket
ports:
- "8086:8086"
redis:
image: redis:alpine3.15
volumes:
- redis:/data
ports:
- "6379:6379"
postgres:
image: postgres:14.1-alpine
ports:
- '5432:5432'
restart: always
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'password'
POSTGRES_DB: 'dataengine'
volumes:
- postgres:/var/lib/postgresql/data
adminer:
image: adminer
ports:
- "8099:8080"
links:
- postgres
volumes:
logvolume01: { }
influxdb: { }
influxdb2: { }
grafana: { }
redis: { }
postgres: { }