changeset 91:30f3f83d6959

docker (prosody, libervia_cont): expose HTTP upload ports in Prosody image
author Goffi <goffi@goffi.org>
date Fri, 19 Feb 2016 14:27:11 +0100 (2016-02-19)
parents 64623a78af2f
children 5a0ed7f94ab8
files docker/libervia_cont.sh docker/prosody/Dockerfile
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/docker/libervia_cont.sh	Fri Feb 19 14:14:19 2016 +0100
+++ b/docker/libervia_cont.sh	Fri Feb 19 14:27:11 2016 +0100
@@ -36,9 +36,11 @@
 
 PUBLIC=0
 
-PROSODY_PORTS="5222 5269"
+PROSODY_PORTS="5222 5269 5280 5281"
 PORT_5222_NAME="XMPP client to server"
 PORT_5269_NAME="XMPP server to server"
+PORT_5280_NAME="HTTP Upload"
+PORT_5281_NAME="HTTP Upload (HTTPS)"
 SAT_PORTS="10143 10125 28915"
 PORT_10143_NAME="IMAP server"
 PORT_10125_NAME="SMTP server"
--- a/docker/prosody/Dockerfile	Fri Feb 19 14:14:19 2016 +0100
+++ b/docker/prosody/Dockerfile	Fri Feb 19 14:27:11 2016 +0100
@@ -101,6 +101,12 @@
 # server to server (S2S)
 EXPOSE 5269
 
+# HTTP upload
+EXPOSE 5280
+
+# HTTP upload (HTTPS)
+EXPOSE 5281
+
 ##########
 # LAUNCH #
 ##########