-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
165 lines (159 loc) · 4.72 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
version: '3.8'
services:
portainer-ce:
ports:
- '9443:9443/tcp'
- '9000:9000/tcp'
- '8000:8000/tcp'
environment:
- TZ=Europe/Oslo
container_name: portainer
restart: unless-stopped
hostname: portainer
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/data/portainer:/data'
- '/etc/localtime:/etc/localtime:ro'
image: 'portainer/portainer-ce:latest'
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
home-assistant:
container_name: homeassistant
privileged: true
restart: unless-stopped
hostname: home-assistant
environment:
- TZ=Europe/Oslo
volumes:
- '/data/homeassistant:/config'
network_mode: host
image: 'ghcr.io/home-assistant/home-assistant:stable'
depends_on:
- mosquitto
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: unless-stopped
hostname: mosquitto
ports:
- "1883:1883/tcp"
environment:
- TZ=Europe/Oslo
volumes:
- '/data/mosquitto/config:/mosquitto/config'
- '/data/mosquitto/data:/mosquitto/data'
- '/data/mosquitto/log:/mosquitto/log'
stdin_open: true
tty: true
depends_on:
- zigbee2mqtt
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
hostname: zigbee2mqtt
ports:
- "8099:8099/tcp"
environment:
- TZ=Europe/Oslo
volumes:
- /data/zigbee2mqtt/data:/app/data
- /run/udev:/run/udev:ro
devices:
# - /dev/ttyUSB0:/dev/ttyACM0
- /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0:/dev/ttyACM0
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
watchtower:
container_name: watchtower
image: containrrr/watchtower
restart: unless-stopped
hostname: watchtower
ports:
- "8080:8080/tcp"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
environment:
- TZ=Europe/Oslo
env_file:
- notification.env
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
myuplink:
container_name: myuplink
image: myuplinksmartconnect:prod
restart: unless-stopped
hostname: myuplink
environment:
- TZ=Europe/Oslo
- IsInsideDocker=1
- CheckRemoteStatsIntervalInMinutes=1
- WaterHeaterMaxPowerInHours=5
- WaterHeaterMediumPowerInHours=8
- MediumPowerTargetTemperature=50
- HighPowerTargetTemperature=75
- ChangeSchedule=true
- PowerZone=NO5
- EnergiBasedCostSaving=false
- EnergiBasedPeakTimes=weekday6,weekend8
- MQTTServer=192.168.1.12
- MQTTServerPort=1883
#Remove comment from below line for extended logging
- LogLevel=Debug
env_file:
- hoiax.env
labels:
- "com.centurylinklabs.watchtower.enable=false"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3
duplicati:
container_name: duplicati
image: duplicati/duplicati
restart: unless-stopped
hostname: duplicati
ports:
- '8200:8200/tcp'
environment:
- 'TZ=TZ=Europe/Oslo'
volumes:
- '/data/duplicati/data:/data'
- '/data:/source:ro'
- '/home/pi:/hpi:ro'
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
logging:
driver: json-file
options:
max-size: 10m
max-file: 3