-
Notifications
You must be signed in to change notification settings - Fork 2
/
run.sh
executable file
·36 lines (33 loc) · 937 Bytes
/
run.sh
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
#!/bin/bash -e
##############################################
# HOMESEER (V4) LINUX - DOCKER RUN CONTAINER
##############################################
docker run \
--interactive \
--tty \
--name homeseer \
--volume /etc/homeseer:/homeseer \
--publish 80:80 \
--publish 10200:10200 \
--publish 10300:10300 \
--publish 10401:10401 \
--publish 11000:11000 \
--env TZ=America/New_York \
--env LANG=en_US.UTF-8 \
--env HOMESEER_CREDENTIALS="default:default" \
homeseer/homeseer:latest $@
# PUBLISHED IP PORTS
# -------------------------
# 80 : HTTP/WEB
# 10200 : HS-TOUCH
# 10300 : myHS
# 10401 : SPEAKER CLIENTS
# 11000 : ASCII/JSON REMOTE API
# OTHER COMMON OPTIONS
# -------------------------
# --detach
# --restart always
# --device /dev/ttyUSB0
# --device /dev/ttyUSB1
# --device /dev/ttyACM0
# --volume /etc/localtime:/etc/localtime:ro