Closed avm99963 closed 3 years ago
opssss! :) thank you for the good report that helped me to quickly find the bug :)
changed:
sed "s/Listen 80/Listen ${APP_PORT_HTTP}/" -i "${HTTPD_CONF_DIR}/conf/httpd.conf"
to:
sed "s/^Listen .*/Listen ${APP_PORT_HTTP}/" -i "${HTTPD_CONF_DIR}/conf/httpd.conf"
fixed in 675cda1533a47a5eb4b141faae669eeb222cb867, will be included into 18.15.16 release.
Thankyou!
When setting
APP_PORT_HTTP=8081
in the.env
file, from the second time that the container is started the container doesn't work (it fails to start the HTTPD service). This is because each start triggers the following command:https://github.com/ugoviti/izdock-izpbx/blob/master/izpbx-asterisk/rootfs/entrypoint-hooks.sh#L543
This means the original "Listen 80" line is modified as follows:
In the meantime I've changed my port to another integer that doesn't start with 80 :)
BTW, thanks for putting together this Docker image, I really appreciate it!