1.7 KiB
1.7 KiB
OpenVidu Meet Demo - Deployment Guide
This directory contains all the files needed to deploy the OpenVidu Meet Demo application using Docker and Caddy as a reverse proxy with automatic HTTPS.
Structure
deployment/
├── docker-compose.yml # Docker Compose configuration
├── Dockerfile # Application Docker image
├── Caddyfile # Caddy reverse proxy configuration
├── .env # Environment variables
└── README.md # This file
Quick Start
Prerequisites
- Docker and Docker Compose installed
- Domain name pointing to your server (for HTTPS with Caddy)
- Ports 80 and 443 available on your server
Steps
- Configure environment variables: Edit the
.envfile to set your domain and OpenVidu Meet server details.
| Variable | Description | Default |
|---|---|---|
DOMAIN |
Domain name for HTTPS (Caddy) | meet-demo-app.openvidu.io |
OV_MEET_SERVER_URL |
URL of the OpenVidu Meet server | https://meet-demo.openvidu.io |
OV_MEET_API_KEY |
API key for OpenVidu Meet authentication | meet-api-key |
- Build the Docker image: Build and push the Docker image to your registry if needed.
docker build -t openvidu/openvidu-meet-demo:{version} -f Dockerfile ..
docker push openvidu/openvidu-meet-demo:{version}
- Start the services
docker-compose up -d
- Access the application: Open your web browser and navigate to
https://meet-demo-app.openvidu.io(or your configured domain).