Allow configuring proxy65 port in tests

This commit is contained in:
Paweł Chmielowski 2019-10-01 17:00:50 +02:00
parent 0673b068e0
commit 6ca5691792
9 changed files with 15 additions and 6 deletions

View File

@ -24,7 +24,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_register:
welcome_message:
subject: "Welcome!"

View File

@ -46,7 +46,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_push:
include_body: false
mod_push_keepalive: []

View File

@ -52,7 +52,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_push:
db_type: sql
include_body: false

View File

@ -52,7 +52,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_push:
db_type: sql
include_body: false

View File

@ -47,7 +47,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_push:
include_body: false
mod_push_keepalive: []

View File

@ -46,7 +46,8 @@ define_macro:
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_proxy65:
port: PROXY_PORT
mod_push:
db_type: sql
include_body: false

View File

@ -101,6 +101,7 @@ modules:
mod_disco: []
mod_ping: []
mod_proxy65:
port: PROXY_PORT
vcard: VCARD
mod_muc:
vcard: VCARD

View File

@ -5,6 +5,7 @@ define_macro:
S2S_PORT: @@s2s_port@@
WEB_PORT: @@web_port@@
COMPONENT_PORT: @@component_port@@
PROXY_PORT: @@proxy_port@@
PASSWORD: >-
@@password@@
LOGLEVEL: @@loglevel@@

View File

@ -62,6 +62,7 @@ init_config(Config) ->
{s2s_port, 5269},
{component_port, 5270},
{web_port, 5280},
{proxy_port, 7777},
{password, Password},
{mysql_server, <<"localhost">>},
{mysql_port, 3306},