forked from zanna-37/hass-swipe-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (36 loc) · 1.22 KB
/
docker-compose.yml
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
---
version: "2.4"
services:
builder:
build:
context: ./docker/builder/
ports:
- 3000:3000
volumes:
- .:/project
# Keep node_modules only inside a volume (for decluttering and performance)
- nodemodules_builder:/project/node_modules
# Sync time with host
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
working_dir: /project
command: ./scripts/build.sh --serve
hass:
image: homeassistant/home-assistant:beta
environment:
- SWIPE_NAVIGATION_JS_URL=http://localhost:3000/swipe-navigation.js
ports:
- 8123:8123
volumes:
- .hass/hass-init.sh:/etc/cont-init.d/hass-init.sh:ro
- .hass/config/configuration.yaml:/config/configuration.yaml:ro
- .hass/config/dashboards.yaml:/config/dashboards.yaml:ro
- .hass/config/ui-lovelace.yaml:/config/ui-lovelace.yaml:ro
- .hass/config/dashboards/:/config/dashboards
- .hass/config/packages:/config/packages
- .hass/config/www/touchpoints-visualizer.js:/config/www/touchpoints-visualizer.js:ro
# Sync time with host
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
volumes:
nodemodules_builder: