Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The XMPP server can be exposed to the outside world, but that's out of the scope of this project. #425

Closed
elbow opened this issue Apr 10, 2020 · 1 comment

Comments

@elbow
Copy link

elbow commented Apr 10, 2020

Hi,

The XMPP server can be exposed to the outside world, but that's out of the scope of this project.

This surely must have been asked before, but I cannot find the answer.

Would someone be so kind as to tell me what I need to do. (I want to develop on jitsi-meet against my docker-jitsi-meet insall).

I'm not famlilar with docker-compose (k8s user), but can I just change the "expose" to "ports", mapping them 1-to-1 to external ports?

Thanks,
Steve

@elbow
Copy link
Author

elbow commented Apr 10, 2020

Ah yes - answered my own question.

diff --git a/docker-compose.yml b/docker-compose.yml
index 9776fe5..f9d3850 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -45,10 +47,10 @@ services:
     # XMPP server
     prosody:
         image: jitsi/prosody
-        expose:
-            - '5222'
-            - '5347'
-            - '5280'
+        ports:
+            - '5222:5222'
+            - '5347:5347'
+            - '5280:5280'
         volumes:
             - ${CONFIG}/prosody:/config
         environment:

Does the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant