@@ -22,10 +22,10 @@ services:
2222 - SRC=./sregistrar/*.go
2323 - PORT=8443
2424 network_mode : " host"
25- environment :
26- TZ : Europe/Stockholm
2725 volumes :
2826 - ./data/registrar:/data
27+ - /etc/timezone:/etc/timezone:ro
28+ - /etc/localtime:/etc/localtime:ro
2929
3030 orchestrator :
3131 image : orchestrator:0.1.0
@@ -37,10 +37,10 @@ services:
3737 depends_on :
3838 - registrar
3939 network_mode : " host"
40- environment :
41- TZ : Europe/Stockholm
4240 volumes :
4341 - ./data/orchestrator:/data
42+ - /etc/timezone:/etc/timezone:ro
43+ - /etc/localtime:/etc/localtime:ro
4444
4545 # Build and run business systems
4646
@@ -55,10 +55,10 @@ services:
5555 - registrar
5656 - orchestrator
5757 network_mode : " host"
58- environment :
59- TZ : Europe/Stockholm
6058 volumes :
6159 - ./data/ds18b20:/data
60+ - /etc/timezone:/etc/timezone:ro
61+ - /etc/localtime:/etc/localtime:ro
6262
6363 comfortstat :
6464 image : comfortstat:0.2.0
@@ -71,10 +71,10 @@ services:
7171 - registrar
7272 - orchestrator
7373 network_mode : " host"
74- environment :
75- TZ : Europe/Stockholm
7674 volumes :
7775 - ./data/comfortstat:/data
76+ - /etc/timezone:/etc/timezone:ro
77+ - /etc/localtime:/etc/localtime:ro
7878
7979 zigbee :
8080 image : zigbee:0.2.0
@@ -88,10 +88,10 @@ services:
8888 - orchestrator
8989 - ds18b20
9090 network_mode : " host"
91- environment :
92- TZ : Europe/Stockholm
9391 volumes :
9492 - ./data/zigbee:/data
93+ - /etc/timezone:/etc/timezone:ro
94+ - /etc/localtime:/etc/localtime:ro
9595
9696 influxdb :
9797 image : influxdb:2.7.11-alpine
@@ -100,14 +100,15 @@ services:
100100 DOCKER_INFLUXDB_INIT_USERNAME : admin
101101 DOCKER_INFLUXDB_INIT_PASSWORD : password
102102 DOCKER_INFLUXDB_INIT_ORG : organisation
103- DOCKER_INFLUXDB_INIT_BUCKET : bucket
103+ DOCKER_INFLUXDB_INIT_BUCKET : arrowhead
104104 INFLUXD_LOG_LEVEL : warn
105- TZ : Europe/Stockholm
106105 ports :
107106 - 8086:8086
108107 volumes :
109108 - ./data/influxdb/data:/var/lib/influxdb2
110109 - ./data/influxdb/config:/etc/influxdb2
110+ - /etc/timezone:/etc/timezone:ro
111+ - /etc/localtime:/etc/localtime:ro
111112
112113 collector :
113114 image : collector:0.1.0
@@ -122,8 +123,8 @@ services:
122123 - zigbee
123124 - influxdb
124125 network_mode : " host"
125- environment :
126- TZ : Europe/Stockholm
127126 volumes :
128127 - ./data/collector:/data
128+ - /etc/timezone:/etc/timezone:ro
129+ - /etc/localtime:/etc/localtime:ro
129130
0 commit comments