mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
Added restart=always
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
71103b0295
commit
8fedb7b439
@ -4,10 +4,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
TZ: "Europe/Helsinki"
|
TZ: "Europe/Helsinki"
|
||||||
container_name: home-assistant
|
container_name: home-assistant
|
||||||
|
restart: always
|
||||||
image: homeassistant/home-assistant
|
image: homeassistant/home-assistant
|
||||||
volumes:
|
volumes:
|
||||||
- /homeautomation-config/home-assistant:/config
|
- /homeautomation-config/home-assistant:/config
|
||||||
restart: always
|
|
||||||
network_mode: host
|
network_mode: host
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -16,7 +16,7 @@ services:
|
|||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb/server:10.3
|
image: mariadb/server:10.3
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
|
MYSQL_ROOT_PASSWORD: "${MYSQL_ROOT_PASSWORD}"
|
||||||
MYSQL_DATABASE: ha_db
|
MYSQL_DATABASE: ha_db
|
||||||
@ -48,6 +48,9 @@ services:
|
|||||||
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"
|
||||||
network_mode: host
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "1880:1880"
|
- "1880:1880"
|
||||||
@ -55,13 +58,11 @@ services:
|
|||||||
- /homeautomation-config/node-red:/data
|
- /homeautomation-config/node-red:/data
|
||||||
depends_on:
|
depends_on:
|
||||||
- home-assistant
|
- home-assistant
|
||||||
environment:
|
|
||||||
TZ: "Europe/Helsinki"
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
container_name: portainer
|
container_name: portainer
|
||||||
image: portainer/portainer
|
image: portainer/portainer
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user