Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chambana-net/docker-prosody
A docker container for the Prosody XMPP server.
https://github.com/chambana-net/docker-prosody
Last synced: 3 months ago
JSON representation
A docker container for the Prosody XMPP server.
- Host: GitHub
- URL: https://github.com/chambana-net/docker-prosody
- Owner: chambana-net
- License: gpl-3.0
- Created: 2016-05-16T22:10:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T17:47:58.000Z (over 7 years ago)
- Last Synced: 2024-08-01T12:36:27.324Z (6 months ago)
- Language: Lua
- Size: 65.4 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - chambana-net/docker-prosody - A docker container for the Prosody XMPP server. (others)
README
docker-prosody
==============
A docker container for the Prosody XMPP server. This container's configuration is inspired by the https://github.com/digicoop/kaiwa-server container.Usage
-----
This container runs Prosody. It is designed to use an LDAP server for authentication and a Postgres server for storage. It uses Prosody 0.10.x with a number of newer modules from the prosody-modules repository. It is designed to work in tandem with a proxy providing LetsEncrypt certificates, and expects those certificates to be found in `/etc/letsencrypt`.A sample `docker-compose` stanza demonstrating some of the available environment variables for configuration is below:
```
prosody:
image: chambana/prosody
container_name: prosody
hostname: chat.example.com
restart: on-failure:5
network_mode: bridge
expose:
- 80
ports:
- "5000:5000"
- "5222:5222"
- "5269:5269"
- "5280:5280"
- "5281:5281"
- "3478:3478/udp"
volumes:
- /etc/letsencrypt/live/example.com:/etc/letsencrypt:ro
environment:
- PROSODY_XMPP_DOMAIN=example.com
- PROSODY_DB_HOST=postgres
- PROSODY_DB_PORT=5432
- PROSODY_DB_NAME=prosody
- PROSODY_DB_USER=prosody
- PROSODY_DB_PASS=examplepassword1
- PROSODY_LDAP_HOST=ldap
- PROSODY_LDAP_USER_BASE=cn=users,cn=accounts,dc=example,dc=com
- PROSODY_LDAP_GROUP_BASE=cn=groups,cn=accounts,dc=example,dc=com
- PROSODY_LDAP_DN=uid=prosody,cn=sysaccounts,cn=etc,dc=example,dc=com
- PROSODY_LDAP_PASS=examplepassword2
- PROSODY_LDAP_GROUP=xmpp
links:
- postgres:postgres
- ldap:ldap
```