Docker Compose with VLANs

Hi I am trying to get HA stood up in Docker Compose and I cant actually access anything not on its VLAN. I did find a few posts about adding networks a few weeks ago when I first started this but now for some reason I cant find the posts again. How would I add my vlans to my compose file so I can access my other networks?

version: '3'
services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /home/ccigas/homeassistant:/config
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=America/New_York
    restart: unless-stopped
    privileged: true
    network_mode: host