version: '3.8' services: token-server-local: build: . container_name: avanzacast-token-server-local extra_hosts: - "host.docker.internal:host-gateway" environment: - PORT=4000 - ALLOWED_ORIGINS=${ALLOWED_ORIGINS:-https://avanzacast-broadcastpanel.bfzqqk.easypanel.host,http://localhost:5173,http://localhost:3000} - LIVEKIT_API_KEY=${LIVEKIT_API_KEY} - LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET} - LIVEKIT_WS_URL=${LIVEKIT_WS_URL} - REDIS_URL=${REDIS_URL} # Point token-server to the backend-api running on host:4001 - BACKEND_API_URL=${BACKEND_API_URL:-http://host.docker.internal:4001} - TOKEN=${TOKEN} restart: unless-stopped