SHARE
TWEET

Untitled

a guest Jan 26th, 2019 118 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '2'
  2. services:
  3.   mariadb:
  4.     image: mariadb
  5.     container_name: mariadb
  6.     ports:
  7.       - "3306:3306"
  8.     volumes:
  9.       - "<path-to-your-persitent-mariadb-config>:/etc/mysql/conf.d"
  10.       - "<path-to-your-persitent-database-data>:/var/lib/mysql"
  11.       - "/etc/localtime:/etc/localtime:ro"
  12.     environment:
  13.       - "MYSQL_ROOT_PASSWORD=yoursupersecretpassword"
  14.       - "TZ=Europe/Berlin"
  15.     user: "user-id"
  16.     restart: on-failure
  17.     logging:
  18.       driver: journald
  19.   hass:
  20.     image: homeassistant/home-assistant
  21.     container_name: hass
  22.     volumes:
  23.       - "<path-to-your-persitent-hass-config>:/config"
  24.       - "/etc/localtime:/etc/localtime:ro"
  25.     network_mode: host
  26.     depends_on:
  27.       - mariadb
  28.     restart: on-failure
  29.     logging:
  30.       driver: journald
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top