Skip to content

Docker installation for noobs #125

Answered by nioc
4wsa asked this question in Q&A
Jun 21, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

If port 80 of your host is already used, you can use another port with -p 81:80 (<host port>:<container port>)

docker run -it -p 81:80 --rm \
-e XMPP_WS=https://**MYDOMAIN**:5281/xmpp-websocket \
-e APP_DEFAULT_DOMAIN=**MYDOMAIN** \
--name xmpp-web-1 nioc/xmpp-web

The open http://yourvps:81/

If you want to use https, I suggest using a proxy like haproxy or nginx with let's encrypt.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@4wsa
Comment options

@nioc
Comment options

@4wsa
Comment options

@nioc
Comment options

Answer selected by 4wsa
@4wsa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants