Merge pull request #8 from surevine/expose-s2s-port

Expose S2S ports from xmpp1 (5261) and xmpp2 (5262)
pull/10/head
Dominic Kua 2020-06-02 09:25:14 +01:00 committed by GitHub
commit 8f3af2584d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -11,8 +11,8 @@ Running `./start.sh` will perform some cleanup then start the containers. When r
+---------------------------------------------+
| 172.50.0.10 172.50.0.20 |
| +--------+ +--------+ |
| | | | | |
(XMPP-C2S) 5221 -|------| XMPP 1 +============+ XMPP 2 |-------|- 5222 (XMPP-C2S)
(XMPP-C2S) 5221 -| | | | | |- 5222 (XMPP-C2S)
(XMPP-S2S) 5261 -|------| XMPP 1 +============+ XMPP 2 |-------|- 5262 (XMPP-S2S)
(HTTP-Admin) 9091 -| | | | | |- 9092 (HTTP-Admin)
| +----+---+ +----+---+ |
| | | |

View File

@ -30,6 +30,7 @@ services:
image: openfire:fmuc
ports:
- "5221:5222"
- "5261:5269"
- "9091:9090"
depends_on:
- "db2"
@ -48,6 +49,7 @@ services:
image: openfire:fmuc
ports:
- "5222:5222"
- "5262:5269"
- "9092:9090"
depends_on:
- "db2"