-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
45 lines (43 loc) · 1.09 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
services:
serve:
build:
context: prometheus-monitoring
image: discovery.local:31500/tidbyt:prometheus-monitoring
ports:
- 8080:8080
volumes:
- type: bind
source: prometheus-monitoring
target: /workspace
entrypoint:
[
"pixlet",
"serve",
"--host=0.0.0.0",
"/workspace/prometheus-monitoring.star",
]
render:
build:
context: prometheus-monitoring
image: discovery.local:31500/tidbyt:prometheus-monitoring
volumes:
- type: bind
source: prometheus-monitoring
target: /workspace
entrypoint: ["pixlet", "render", "/workspace/prometheus-monitoring.star"]
daemonize:
build:
context: prometheus-monitoring
image: discovery.local:31500/tidbyt:prometheus-monitoring
restart: always
environment:
- DEVICE_ID=${DEVICE_ID}
- TIDBYT_API_TOKEN=${TIDBYT_API_TOKEN}
# volumes:
# - type: bind
# source: prometheus-monitoring
# target: /workspace
# entrypoint:
# [
# "/workspace/daemonize-push.sh",
# ]