-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (50 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
55 lines (50 loc) · 1.26 KB
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
services:
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- grafana-storage:/var/lib/grafana
- ./grafana/etc:/etc/grafana:ro
depends_on:
- influxdb
environment:
- GF_SECURITY_ADMIN_USER=uwfe
- GF_SECURITY_ADMIN_PASSWORD=uwfepassword
- DOCKER_INFLUXDB_INIT_ORG=uwfe
- DOCKER_INFLUXDB_INIT_BUCKET=telemetry
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=secrettoken
monitor:
build: ./monitor
container_name: uwfe_monitor
restart: always
# networks:
# - tcp-network
test-server:
build: ./test-server
container_name: uwfe_test_tcp_server
ports:
- "12345:12345"
restart: always
# networks:
# - tcp-network
influxdb:
image: influxdb:2-alpine
volumes:
- influxdbv2:/.influxdbv2
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=uwfe
- DOCKER_INFLUXDB_INIT_PASSWORD=uwfepassword
- DOCKER_INFLUXDB_INIT_ORG=uwfe
- DOCKER_INFLUXDB_INIT_BUCKET=telemetry
- DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=secrettoken
- INFLUXDB_HTTP_HTTPS_ENABLED=true
ports:
- "8086:8086"
volumes:
influxdbv2:
grafana-storage:
# networks:
# tcp-network:
# driver: bridge