Self-hosting with Docker and Docker Compose.
Prepare the environment
Create a new directory
fonoster.
Download the example configuration
.env.example
from the repository to the current directory and rename it to .env.
This file contains all the environment variables that the services need to run.You can use the following commands to copy all the necessary files:Update the configuration
.env
file with your favorite editor and update the following variables:ASTERISK_SIPPROXY_HOST
: Set this variable to the IP address of the host machine.
ROUTR_EXTERNAL_ADDRS
: Set this variable to the IP address of the host machine.
ROUTR_RTPENGINE_HOST
: Set this variable to the IP address of the host machine.
.env
file is safely stored.Generate keys
Confirm the directory structure
Start the server