Advertisement
Guest User

jagoma_OH-CCU

a guest
Jan 20th, 2020
1,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.36 KB | None | 0 0
  1. version: "2"
  2. services:
  3. openhab:
  4. image: openhab/openhab
  5. container_name: openHAB
  6. depends_on:
  7. - influxdb
  8. - mosquitto
  9. restart: always
  10. environment:
  11. - OPENHAB_HTTP_PORT=8080
  12. - OPENHAB_HTTPS_PORT=8443
  13. volumes:
  14. - /etc/localtime:/etc/localtime:ro
  15. - /etc/timezone:/etc/timezone:ro
  16. - /opt/openHAB/addons:/openhab/addons
  17. - /opt/openHAB/userdata:/openhab/userdata
  18. - /opt/openHAB/conf:/openhab/conf
  19. - ./backup:/backups
  20. ports:
  21. - 8080:8080
  22. - 8443:8443
  23. mariadb:
  24. image: linuxserver/mariadb
  25. container_name: MariaDB
  26. environment:
  27. - MYSQL_ROOT_PASSWORD=xxxxx
  28. - MYSQL_DATABASE=OH
  29. - TZ=Europe/Berlin
  30. volumes:
  31. - /opt/db/MariaDB/mysql:/var/lib/mysql
  32. - /opt/db/MariaDB/config:/config
  33. expose:
  34. - 3606
  35. ports:
  36. - 3606:3606
  37. restart: unless-stopped
  38. phpmyadmin:
  39. image: ebspace/armhf-phpmyadmin
  40. container_name: phpMyAdmin
  41. environment:
  42. - PMA_HOST=mariadb
  43. restart: always
  44. ports:
  45. - 9080:80
  46. volumes:
  47. - /opt/phpMyAdmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php
  48. links:
  49. - mariadb
  50. influxdb:
  51. image: influxdb
  52. container_name: InfluxDB
  53. volumes:
  54. - /opt/openHAB/InfluxDB:/var/lib/influxdb
  55. - ./backup:/backups
  56. restart: always
  57. grafana:
  58. image: grafana/grafana
  59. container_name: Grafana
  60. restart: always
  61. volumes:
  62. - /opt/openHAB/Grafana:/var/lib/grafana
  63. - ./backup:/backups
  64. environment:
  65. GF_USERS_ALLOW_SIGN_UP: "false"
  66. GF_SERVER_DOMAIN: "${HOSTNAME}"
  67. GF_SERVER_ROOT_URL: "http://${HOSTNAME}:3000/grafana"
  68. GF_USERS_DEFAULT_THEME: "light"
  69. GF_AUTH_ANONYMOUS_ENABLED: "true"
  70. GF_AUTH_BASIC_ENABLED: "false"
  71. GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
  72. mosquitto:
  73. image: eclipse-mosquitto
  74. container_name: Mosquitto
  75. restart: always
  76. volumes:
  77. - /opt/Mosquitto/data:/mosquitto/data
  78. - /opt/Mosquitto/log:/mosquitto/log
  79. - /opt/Mosquitto/config:/mqtt/config:ro
  80. - /opt/Mosquitto/config/passwd:/etc/mosquitto/passwd
  81. ports:
  82. - 1883:1883
  83. - 9001:9001
  84. owncloud:
  85. image: owncloud
  86. container_name: ownCloud
  87. ports:
  88. - 7080:80
  89. restart: always
  90. volumes:
  91. - /opt/ownCloud/apps:/var/www/html/apps
  92. - /opt/ownCloud/config:/var/www/html/config
  93. - /opt/ownCloud/data:/var/www/html/data
  94. deconz:
  95. image: marthoc/deconz
  96. container_name: deCONZ
  97. network_mode: host
  98. restart: always
  99. volumes:
  100. - /opt/deCONZ:/root/.local/share/dresden-elektronik/deCONZ
  101. - /etc/localtime:/etc/localtime:ro
  102. devices:
  103. - /dev/ttyAMA0
  104. environment:
  105. - DECONZ_WEB_PORT=4080
  106. - DECONZ_WS_PORT=4443
  107. - DEBUG_INFO=1
  108. - DEBUG_APS=0
  109. - DEBUG_ZCL=0
  110. - DEBUG_ZDP=0
  111. - DEBUG_OTAU=0
  112. - DECONZ_VNC_MODE=1
  113. - DECONZ_VNC_PORT=5900
  114. - DECONZ_VNC_PASSWORD=xxxx
  115. ports:
  116. - 4080:4080
  117. - 4443:4443
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement