- Add Next.js app structure with base configs, linting, and formatting - Implement LiveKit Meet page, types, and utility functions - Add Docker, Compose, and deployment scripts for backend and token server - Provide E2E and smoke test scaffolding with Puppeteer and Playwright helpers - Include CSS modules and global styles for UI - Add postMessage and studio integration utilities - Update package.json with dependencies and scripts for development and testing
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
version: '3.8'
|
|
services:
|
|
backend-api:
|
|
build: .
|
|
image: avanzacast-backend-api:latest
|
|
ports:
|
|
- "4000:4000" # host:container — exponer en 4000 según petición
|
|
env_file:
|
|
- .env
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=4000
|
|
- REDIS_URL=${REDIS_URL:-redis://redis:6379}
|
|
- ALLOW_ALL_CORS=1
|
|
# Production friendly defaults (can be overridden in .env)
|
|
- VITE_BROADCASTPANEL_URL=https://avanzacast-broadcastpanel.bfzqqk.easypanel.host
|
|
- VITE_STUDIO_URL=https://avanzacast-studio.bfzqqk.easypanel.host
|
|
- VITE_TOKEN_SERVER_URL=https://avanzacast-servertokens.bfzqqk.easypanel.host
|
|
# If you want redirectUrl to include token directly (convenience), set to 1
|
|
- INCLUDE_TOKEN_IN_REDIRECT=0
|
|
# LiveKit credentials and URL (set to values provided)
|
|
- LIVEKIT_API_KEY=devkey
|
|
- LIVEKIT_API_SECRET=secret
|
|
- LIVEKIT_URL=https://livekit-server.bfzqqk.easypanel.host
|
|
- LIVEKIT_WS_URL=wss://livekit-server.bfzqqk.easypanel.host
|
|
depends_on:
|
|
- redis
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: avanzacast-redis
|
|
restart: unless-stopped
|