-
-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 766 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (34 loc) · 766 Bytes
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
services:
monitoring:
image: openwisp/openwisp-monitoring:develop
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
depends_on:
- influxdb
- redis
influxdb:
image: influxdb:1.8-alpine
platform: linux/amd64
volumes:
- influxdb-data:/var/lib/influxdb
- ./tests/influxdb.conf:/etc/influxdb/influxdb.conf
ports:
- "8086:8086"
- "8089:8089/udp"
- "8090:8090/udp"
- "8091:8091/udp"
- "8092:8092/udp"
environment:
INFLUXDB_DB: openwisp2
INFLUXDB_USER: openwisp
INFLUXDB_USER_PASSWORD: openwisp
redis:
image: redis:7
ports:
- "6379:6379"
entrypoint: redis-server --appendonly yes
volumes:
influxdb-data: {}