-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTiltfile
28 lines (24 loc) · 838 Bytes
/
Tiltfile
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
# point Tilt at the existing docker-compose configuration.
docker_compose('./docker-compose.yml')
docker_build('tilt.dev/hs110-exporter', '.',
live_update=[
sync('./hs110exporter.py', '/usr/local/bin/hs110exporter.py'),
restart_container(),
],
# only=['./hs110exporter.py', './entrypoint.rh', './requirements.txt', './tox.ini', '/.pylintrc', './mypy.ini', './test_hs110exporter.py' ]
)
# https://docs.tilt.dev/file_changes.html
docker_build('tilt.dev/prometheus', './prometheus',
live_update=[
sync('./prometheus/prometheus.yml', '/etc/prometheus/prometheus.yml'),
restart_container(),
],
# only=['./prometheus.yml']
)
docker_build('tilt.dev/grafana', './grafana',
live_update=[
sync('./grafana/provisioning/', '/etc/grafana/provisioning/'),
restart_container(),
],
# only=['./provisioning/']
)