File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,36 @@ Set up a [punjab](https://github.com/twonds/punjab) server and simply configure
2323npm install --save --production @osjs/strophejs-application
2424npm run package:discover
2525```
26+
27+ ### Custom BOSCH Server using Prosody
28+
29+ If you use Docker, you can simply add [ Prosody] ( https://prosody.im/ ) to your docker-compose file:
30+
31+ > ** NOTE: You have to copy the default prosody configuration into ` src/etc/prosody ` first. Then enable the BOSCH http server module.**
32+
33+ > NOTE: A domain name or hostname resolved via DNS is recommended (` my-domain.com ` in this example)
34+
35+ ```
36+ services:
37+ prosody:
38+ image: prosody/prosody
39+ ports:
40+ - "5280:5280"
41+ volumes:
42+ - "./logs/prosody:/var/log/prosody"
43+ - "./src/prosody/etc:/etc/prosody"
44+ ```
45+
46+ You can now add users via the docker container with:
47+
48+ ```
49+ docker-compose exec prosody prosodyctl adduser username@my-domain.com
50+ ```
51+
52+ Then in the OS.js application:
53+
54+ ```
55+ Host: http://my-domain.com/http-bind
56+ Username: username@my-domain.com
57+ Password: abc123
58+ ```
You can’t perform that action at this time.
0 commit comments