Update timezone stuff

This commit is contained in:
Marko Korhonen 2020-02-10 00:31:05 +02:00
parent e88131f4b7
commit bf31a15336
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
5 changed files with 27 additions and 13 deletions

View file

@ -9,6 +9,7 @@ services:
container_name: gitea
image: gitea/gitea:latest
environment:
- TZ=Europe/Helsinki
- USER_UID=1000
- USER_GID=1000
- DB_TYPE=mysql
@ -21,7 +22,6 @@ services:
- gitea
volumes:
- /docker/gitea/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- '3000:3000'
@ -36,6 +36,7 @@ services:
networks:
- gitea
environment:
- TZ=Europe/Helsinki
- MYSQL_ROOT_PASSWORD=gitea
volumes:
- /docker/gitea/mariadb:/var/lib/mysql

View file

@ -2,11 +2,13 @@ version: '3'
services:
home-assistant:
container_name: home-assistant
restart: always
image: homeassistant/home-assistant
environment:
- TZ=Europe/Helsinki
volumes:
- /docker/homeautomation/home-assistant:/config
- /etc/localtime:/etc/localtime:ro
restart: always
network_mode: host
depends_on:
- deconz
@ -15,51 +17,57 @@ services:
deconz:
container_name: deconz
image: marthoc/deconz
restart: always
environment:
DECONZ_WEB_PORT: 8083
DECONZ_WS_PORT: 8084
DECONZ_VNC_PORT: 5901
DECONZ_VNC_MODE: 1
DECONZ_VNC_PASSWORD: '${DECONZ_VNC_PASSWORD}'
DEBUG_OTAU: 1
- TZ=Europe/Helsinki
- DECONZ_WEB_PORT=8083
- DECONZ_WS_PORT=8084
- DECONZ_VNC_PORT=5901
- DECONZ_VNC_MODE=1
- DECONZ_VNC_PASSWORD=${DECONZ_VNC_PASSWORD}
- DEBUG_OTAU=1
network_mode: host
volumes:
- /docker/homeautomation/deconz:/root/.local/share/dresden-elektronik/deCONZ
- /etc/localtime:/etc/localtime:ro
restart: always
devices:
- /dev/ttyACM0
node-red:
container_name: node-red
image: nodered/node-red
restart: always
environment:
- TZ=Europe/Helsinki
ports:
- '1880:1880'
volumes:
- /docker/homeautomation/node-red:/data
- /etc/localtime:/etc/localtime:ro
restart: always
depends_on:
- home-assistant
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
restart: always
environment:
- TZ=Europe/Helsinki
network_mode: host
volumes:
- /docker/homeautomation/mosquitto:/mosquitto
- /etc/localtime:/etc/localtime:ro
restart: always
mariadb:
container_name: mariadb-hass
image: mariadb
restart: always
environment:
- TZ=Europe/Helsinki
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
ports:
- '3308:3306'
volumes:
- /docker/homeautomation/mariadb:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
restart: always

View file

@ -3,6 +3,8 @@ services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
environment:
- TZ=Europe/Helsinki
user: 1001:985
network_mode: 'host'
restart: always

View file

@ -1,8 +1,10 @@
version: '3'
services:
portainer:
container_name: portainer
image: portainer/portainer
container_name: portainer
environment:
- TZ=Europe/Helsinki
restart: always
ports:
- '9000:9000'

View file

@ -4,6 +4,7 @@ services:
image: linuxserver/tvheadend
container_name: tvheadend
environment:
- TZ=Europe/Helsinki
- PUID=1001
- PGID=985
volumes: