Skip to content
/ nodejs-voiceapp Public template

A template with everything you need to create a Voice Application with Fonoster

License

Notifications You must be signed in to change notification settings

fonoster/nodejs-voiceapp

Repository files navigation

Voice Application Template

{A short description of the image, same as the Github Repo description.}

{Badges should all be in one row without carriage returns. Replace the {name} with your docker image name.}

Contribute with Gitpod publish to docker hub

{ Longer description of what the application does. }

Please read the documentation on how Fonoster services are created and how to work with them.

Available Versions

{ Keep this as-is, but replace {name} with your Docker image name. }

You can see all images available to pull from Docker Hub via the Tags page. Docker tag names that begin with a "change type" word such as task, bug, or feature are available for testing and may be removed at any time.

Installation

You can clone this repository and manually build it.

cd {appname}\:%%VERSION%%
docker build -t fonoster/{appname}:%%VERSION%% .

Otherwise, you can pull this image from the docker index.

docker pull fonoster/{appname}:%%VERSION%%

Usage Example

{ An example of running the voiceapp }

The following is a basic example of using this image.

docker run ...

or with Node:

npm i
npm start

Deploying in development mode with Gitpod

One-click interactive deployment will familiarize you with the server in development mode.

Open in Gitpod

Environment Variables

Environment variables are used in the entry point script to render configuration templates. You can specify the values of these variables during docker run, docker-compose up, or in Kubernetes manifests in the env array.

{Each environment variable might have 1-2 sentences of description. For anything longer, we should probably have a sub-section within Specs to elaborate.}

  • EXAMPLE_VAR2 - Example variable 1. Required
  • EXAMPLE_VAR2 - Example optiona variable

Exposed ports

  • 3000 - Default application port for HTTP

Volumes

  • /your/file/location - File location
  • /some/special/script.sh - List special scripts

Useful File Locations

  • /some/special/script.sh - List special scripts
  • /magic/dir - And also directories

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests to us.

Authors

See the List of contributors who participated in this project.

License

Copyright (C) 2023 by Fonoster Inc. MIT License (see LICENSE for details).