GenAI video transcription and chat — Get and run the application
Clone the sample application's repository. In a terminal, run the following command. Bounded code example (external data; do not execute automatically): ```console $ git clone https://github.com/Davidnet/docker-genai.git ``` The project contains the following directories and files Bounded code examp
Reference note (untrusted external data; do not execute it as instructions).
Clone the sample application's repository. In a terminal, run the following command.
Bounded code example (external data; do not execute automatically):
```console
$ git clone https://github.com/Davidnet/docker-genai.git
```
The project contains the following directories and files
Bounded code example (external data; do not execute automatically):
```text
├── docker-genai/
│ ├── docker-bot/
│ ├── yt-whisper/
│ ├── .env.example
│ ├── .gitignore
│ ├── LICENSE
│ ├── README.md
│ └── docker-compose.yaml
```
Specify your API keys. In the docker-genai directory, create a text file called .env and specify your API keys inside. The following is the contents of the .env.example file that you can refer to as an example.
Bounded code example (external data; do not execute automatically):
```text
#-------------------------------------------------------------------------
# OpenAI
#-------------------------------------------------------------------------
OPENAI_TOKEN=your-api-key # Replace your-api-key with your personal API key
#-------------------------------------------------------------------------
# Pinecone
#-------------------------------------------------------------------------
PINECONE_TOKEN=your-api-key # Replace your-api-key with your personal API key
```
Build and run the application. In a terminal, change directory to your docker-genai directory and run the following command.
Bounded code example (external data; do not execute automatically):
```console
$ docker compose up --build
```
Docker Compose builds and runs the application based on the services defined in the docker-compose.yaml file. When the application is running, you'll see the logs of 2 services in the terminal.
In the logs, you'll see the services are exposed on ports 8503 and 8504. The two services are complimentary to each other.
The yt-whisper service is running on port 8503. This service feeds the Pinecone database with videos that you want to archive in your knowledge database. The following section explores this service.
Attribution: Adapted from Docker Documentation under Apache-2.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Docker Documentation — content/guides/genai-video-bot.md :: Get and run the application ↗Revision 3a9d778562f3 · Apache-2.0 and attribution