# TrueNAS homelab override — replaces localhost with 192.168.188.119 # Applied on top of docker-compose.yml for the homelab deployment on TrueNAS.local. # Usage: # docker compose -f docker-compose.yml -f docker-compose.truenas.yml up -d --build services: backend: # Host port 8080 is taken by odysseus-searxng-1; remap to 8081. # !override replaces the inherited ports list (compose merges lists by concat otherwise). # Internal container port stays 8080 so frontend's BACKEND_URL=http://backend:8080 is unaffected. ports: !override - "8081:8080" frontend: environment: NEXTAUTH_URL: http://192.168.188.119:3000 AUTH_URL: http://192.168.188.119:3000 # NextAuth v5 (Auth.js) reads AUTH_SECRET, not NEXTAUTH_SECRET. Without it at # runtime, signIn throws MissingSecret -> the app error boundary shows 'Oops'. AUTH_SECRET: docker-dev-nextauth-secret-minimum-32chars AUTH_TRUST_HOST: "true"