Extra Settings: Allow one to pass extra API configuration settings.

For more advanced usage, a user can do the
extra_volumes/extra_volume_mounts dance. But for simple need adding this
parameter make it easy to just specify an extra parameter.
This commit is contained in:
Yanis Guenane
2021-04-30 11:06:40 +02:00
parent 7361defa17
commit 1d14ebccad
6 changed files with 49 additions and 0 deletions

View File

@@ -89,6 +89,10 @@ data:
BROADCAST_WEBSOCKET_PORT = 8052
BROADCAST_WEBSOCKET_PROTOCOL = 'http'
{% for item in extra_settings | default([]) %}
{{ item.setting }} = {{ item.value }}
{% endfor %}
nginx_conf: |
worker_processes 1;
pid /tmp/nginx.pid;