This Docker image contains the Plivo framework, an open-source platform for building and deploying voice applications. The image is built on Debian Bullseye with Python 3.9.11.
Running the container You can run the container using the following command:
docker run -it --platform=linux/amd64 romonzamanbd/plivo:v1
Running the container with a volume
You can run the container with a volume to mount your Plivo application code inside the container. To do this, use the following command:
docker run -it --platform=linux/amd64 -v /path/to/your/code:/app romonzamanbd/plivo:v1
Running the container with environment variables
You can run the container with environment variables to configure your Plivo application. To do this, use the following command:
docker run -it -e PLIVO_AUTH_ID=your_auth_id -e PLIVO_AUTH_TOKEN=your_auth_token romonzamanbd/plivo:v1
Using Docker Compose
You can use Docker Compose to manage your Plivo application and its dependencies. Here's an example docker-compose.yml file:
version: '3'
services:
plivo-rest:
image: romonzamanbd/plivo
platform: "linux/amd64"
command: ['plivo-rest']
ports:
- "8088:8088"
volumes:
- ./default.conf:/etc/plivo/default.conf
plivo-outbound:
image: romonzamanbd/plivo
platform: "linux/amd64"
command: ['plivo-outbound']
ports:
- "8084:8084"
volumes:
- ./default.conf:/etc/plivo/default.conf
You can start the container using the following command:
docker-compose up -d
This Docker image is licensed under *.
Content type
Image
Digest
sha256:b810e34d0…
Size
131.8 MB
Last updated
over 3 years ago
docker pull romonzamanbd/plivo:v1