services: app: build: . container_name: homebase restart: unless-stopped # Use host network to access both local network and Tailscale # Also inherits host's DNS for .local mDNS hostname resolution network_mode: host environment: - NODE_ENV=production - PORT=3001 - DOMAIN=homebase.sketchferret.com volumes: # Persist database and image files - homebase-data:/app/data # Mount host's resolv.conf for mDNS support - /etc/resolv.conf:/etc/resolv.conf:ro volumes: homebase-data: driver: local