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

View file

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

View file

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

View file

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

View file

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