SHARE
TWEET

Untitled

a guest Mar 12th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 102 # Home Assistant - Smart Home Hub
  2. 103   homeassistant:
  3. 104     container_name: home-assistant
  4. 105     restart: always
  5. 106     image: homeassistant/aarch64-homeassistant:0.89.1
  6. 107     volumes:
  7. 108       - ${USERDIR}/docker/config/home-assistant:/config
  8. 109       - /etc/localtime:/etc/localtime:ro
  9. 110       - ${USERDIR}/docker/shared:/shared
  10. 111     devices:
  11. 112       - /dev/ttyACM0:/dev/ttyACM0
  12. 113 #    ports:
  13. 114 #      - "XXXX:8123"
  14. 115     privileged: true
  15. 116     environment:
  16. 117       - PUID=${PUID}
  17. 118       - PGID=${PGID}
  18. 119       - TZ=${TZ}
  19. 120     networks:
  20. 121       - traefik_proxy
  21. 122       - defauilt
  22. 123       - macvlan:
  23. 124           ipv4_address: 192.168.0.200
  24. 125     labels:
  25. 126       - "traefik.enable=true"
  26. 127       - "traefik.backend=homeassistant"
  27. 128       - "traefik.frontend.rule=Host:ha.${DOMAINNAME}"
  28. 129       - "traefik.frontend.redirect.entryPoint=https"
  29. 130       - "traefik.port=8123"
  30. 131       - "traefik.docker.network=traefik_proxy"
  31. 132       - "traefik.frontend.headers.SSLRedirect=true"
  32. 133       - "traefik.frontend.headers.STSSeconds=315360000"
  33. 134       - "traefik.frontend.headers.browserXSSFilter=true"
  34. 135       - "traefik.frontend.headers.contentTypeNosniff=true"
  35. 136       - "traefik.frontend.headers.forceSTSHeader=true"
  36. 137       - "traefik.frontend.headers.SSLHost=${DOMAINNAME}"
  37. 138       - "traefik.frontend.headers.STSIncludeSubdomains=true"
  38. 139       - "traefik.frontend.headers.STSPreload=true"
  39. 140       - "traefik.frontend.headers.frameDeny=true"
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