# Running Docker and Home Assistant on TrueNAS with Compose, macvlan, and Traefik

DevFeed: [Running Docker and Home Assistant on TrueNAS with Compose, macvlan, and Traefik](<https://devfeed.tech/articles/how-i-run-docker-on-truenas-like-a-pro-10676.md>)

Original publisher: [Read original article](<https://technotim.com/posts/truenas-docker-pro/>)

Author: Techno Tim

Published: 2025-07-14T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Docker](<https://devfeed.tech/topics/docker.md>), [truenas](<https://devfeed.tech/topics/truenas.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [YAML](<https://devfeed.tech/topics/yaml.md>), [Home Assistant](<https://devfeed.tech/topics/home-assistant.md>), [traefik](<https://devfeed.tech/topics/traefik.md>), [Self-hosted](<https://devfeed.tech/topics/self-hosted.md>), [Networks](<https://devfeed.tech/topics/networks.md>)

Tags: [compose](<https://devfeed.tech/tags/compose.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [home-assistant](<https://devfeed.tech/tags/home-assistant.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [networks](<https://devfeed.tech/tags/networks.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [self-hosting](<https://devfeed.tech/tags/self-hosting.md>), [traefik](<https://devfeed.tech/tags/traefik.md>), [truenas](<https://devfeed.tech/tags/truenas.md>), [yaml](<https://devfeed.tech/tags/yaml.md>)

## AI overview

A tutorial for running Docker applications on TrueNAS using YAML and Docker Compose. It covers creating datasets, optionally managing services through Code Server, and configuring Home Assistant with macvlan networking and Traefik for device discovery and reverse-proxy access.

## Source excerpt

Learn how to run Docker apps on TrueNAS like a pro -- with full control, clean YAML, and no extra dashboards. Have questions or a different setup that works for you? Leave a comment, I'd love to hear how others are running Docker on TrueNAS. 📺 Watch Video Starting with TrueNAS 25.10, you will need to add a services key to your custom yaml for new stacks and when updating your existing s...