Guest User

Untitled

a guest
Dec 9th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. version: "3"
  2. services:
  3. portainer:
  4. container_name: portainer
  5. image: portainer/portainer
  6. volumes:
  7. - /docker/portainer:/data
  8. - /var/run/docker.sock:/var/run/docker.sock
  9. ports:
  10. - "9000:9000"
  11. unifi:
  12. container_name: unifi
  13. restart: unless-stopped
  14. image: linuxserver/unifi
  15. volumes:
  16. - /docker/unifi:/config
  17. environment:
  18. - PGID=0
  19. - PUID=0
  20. - ES_JAVA_OPTS="-Xms2g -Xmx2g"
  21. ports:
  22. - "8080:8080"
  23. - "8081:8081"
  24. - "8443:8443"
  25. - "8843:8843"
  26. - "8880:8880"
  27. - "3478:3478"
  28. mqtt:
  29. container_name: mqtt
  30. restart: unless-stopped
  31. image: eclipse-mosquitto
  32. volumes:
  33. - /docker/mqtt/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
  34. - /docker/mqtt/log:/mosquitto/log
  35. - /docker/mqtt/data:/mosquitto/data
  36. - /etc/localtime:/etc/localtime:ro
  37. ports:
  38. - "1883:1883"
  39. - "9001:9001"
  40. hadockermon:
  41. container_name: ha-dockermon
  42. restart: unless-stopped
  43. image: philhawthorne/ha-dockermon
  44. volumes:
  45. - /docker/ha-dockermon:/config
  46. - /var/run/docker.sock:/var/run/docker.sock
  47. ports:
  48. - "8126:8126"
  49. hapostgres:
  50. container_name: ha-postgres
  51. restart: unless-stopped
  52. image: postgres:9.6
  53. volumes:
  54. - /docker/postgresql:/var/lib/postgresql/data
  55. - /etc/localtime:/etc/localtime:ro
  56. environment:
  57. - POSTGRES_USER="myusername"
  58. - POSTGRES_PASSWORD="mypassword"
  59. ports:
  60. - "5432:5432"
  61. nodered:
  62. container_name: node-red
  63. restart: unless-stopped
  64. image: nodered/node-red-docker
  65. depends_on:
  66. - "homeassistant"
  67. user: root
  68. volumes:
  69. - /docker/node-red/user:/data
  70. - /etc/localtime:/etc/localtime:ro
  71. ports:
  72. - "1880:1880"
  73. homeassistant:
  74. container_name: home-assistant
  75. restart: unless-stopped
  76. image: homeassistant/home-assistant
  77. depends_on:
  78. - "ha-postgres"
  79. - "unifi"
  80. volumes:
  81. - /docker/homeassistant/config:/config
  82. - /docker/homeassistant/media:/media
  83. - /etc/localtime:/etc/localtime:ro
  84. network_mode: host
  85. privileged: true
Add Comment
Please, Sign In to add comment