[OpenSIPS-Users] OpenSiips Docker/kubernates configuration

junkmail junkmail at djrance.com
Mon Oct 16 22:33:33 UTC 2023


Perfect.  Thank you for the pointer not sure why I didn't see it before.


16.10.2023 15:56 に Ben Newlin さんは書きました:
> Any sort of templating framework will work for this. We use m4 and do
> the templating ourselves using Ansible, but as of 3.1 OpenSIPS
> supports doing the templating for you, with a number of templating
> engines [1].
> 
> [1] -
> https://www.opensips.org/Documentation/Templating-Config-Files-3-4 [1]
> 
> 
> Ben Newlin
> 
> From: Users <users-bounces at lists.opensips.org> on behalf of junkmail
> <junkmail at djrance.com>
> Date: Monday, October 16, 2023 at 5:46 PM
> To: users at lists.opensips.org <users at lists.opensips.org>
> Subject: [OpenSIPS-Users] OpenSiips Docker/kubernates configuration
> 
>  EXTERNAL EMAIL - Please use caution with links and attachments
> 
> Hello.  I was working on getting some of my openSips systems running
> in
> docker/kubernates.  I think I am good except to the point of binding
> to
> IP addresses.
> 
> I am trying to find a good way to have the pod either be passed the
> Public IP via an Environment variable or using a simple call to get
> the
> IP address from within the starting pod.  This I can do, but I am not
> sure how I can get it to dynamically be usable for the Opensips Socket
> 
> binding or advertised_address configuration variable.    I see there
> is
> the -l option for the binding but it doesn't seem to allow you to
> provide the "as" line to specify the public IP address.  I tried
> searching the documentation on how I might be able to use an
> Environment
> variable, but didn't find anything that seemed like it would work.
> 
> Please let me know if there is something I over looked or another way
> to
> accomplish getting the advertised address configured.
> 
> thank you.
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> Links:
> ------
> [1] https://www.opensips.org/Documentation/Templating-Config-Files-3-4
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list