There is really only a reference .ini style configuration file that is generated at build time which can be overriden with a volume mount.
Rather than do something hokey with a shell script to generate that configuration based on 12-factor environment variables and some kind of packing scheme, I'm punting on this. Arguably, the configuration is something that something else can take care of. This is meant to be a base image.
That being said, there are a number of ways to go about doing this.
First, here's an example that will pull down the default flexisip.conf file:
mkdir -p flexisip
docker run -it --rm leelai/flexisip flexisip --dump-default all > flexisip/flexisip.conf
Now you can merrily update the local flexisip/flexisip.conf file and start a container that uses it:
docker run -d --name flexisip --network host -v `pwd`/flexisip:/etc/flexisip leelai/flexisip
Content type
Image
Digest
Size
326.8 MB
Last updated
about 6 years ago
docker pull leelai/flexisip