mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-04 18:00:20 +00:00
Fix timezones
This commit is contained in:
parent
441ec14b59
commit
c462ee2199
@ -1,13 +1,12 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
home-assistant:
|
home-assistant:
|
||||||
environment:
|
|
||||||
TZ: 'Europe/Helsinki'
|
|
||||||
container_name: home-assistant
|
container_name: home-assistant
|
||||||
restart: always
|
restart: always
|
||||||
image: homeassistant/home-assistant
|
image: homeassistant/home-assistant
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/homeautomation/home-assistant:/config
|
- /docker/homeautomation/home-assistant:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
network_mode: host
|
network_mode: host
|
||||||
depends_on:
|
depends_on:
|
||||||
- deconz
|
- deconz
|
||||||
@ -26,8 +25,9 @@ services:
|
|||||||
DEBUG_OTAU: 1
|
DEBUG_OTAU: 1
|
||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /docker/homeautomation/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
- /docker/homeautomation/deconz:/root/.local/share/dresden-elektronik/deCONZ
|
||||||
|
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
devices:
|
devices:
|
||||||
- /dev/ttyACM0
|
- /dev/ttyACM0
|
||||||
|
|
||||||
@ -35,12 +35,11 @@ services:
|
|||||||
container_name: node-red
|
container_name: node-red
|
||||||
image: nodered/node-red
|
image: nodered/node-red
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
|
||||||
TZ: 'Europe/Helsinki'
|
|
||||||
ports:
|
ports:
|
||||||
- '1880:1880'
|
- '1880:1880'
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/homeautomation/node-red:/data
|
- /docker/homeautomation/node-red:/data
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
|
|
||||||
@ -53,6 +52,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /docker/homeautomation/portainer:/data
|
- /docker/homeautomation/portainer:/data
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
mosquitto:
|
mosquitto:
|
||||||
container_name: mosquitto
|
container_name: mosquitto
|
||||||
@ -61,6 +61,7 @@ services:
|
|||||||
network_mode: host
|
network_mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/homeautomation/mosquitto:/mosquitto
|
- /docker/homeautomation/mosquitto:/mosquitto
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
container_name: mariadb-hass
|
container_name: mariadb-hass
|
||||||
@ -72,3 +73,4 @@ services:
|
|||||||
- '3308:3306'
|
- '3308:3306'
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/homeautomation/mariadb:/var/lib/mysql
|
- /docker/homeautomation/mariadb:/var/lib/mysql
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
@ -10,3 +10,4 @@ services:
|
|||||||
- /docker/jellyfin/config:/config
|
- /docker/jellyfin/config:/config
|
||||||
- /docker/jellyfin/cache:/cache
|
- /docker/jellyfin/cache:/cache
|
||||||
- /mnt/Storage/Media:/media
|
- /mnt/Storage/Media:/media
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
Loading…
Reference in New Issue
Block a user