Temporary fork of https://github.com/snikket-im/snikket-server. See https://github.com/snikket-im/snikket-web-proxy/pull/6 for more.
457096a13d
The code was originally written to fail safe in the event of failure, hence the 'if roles and ...'. However a user with no roles (which is normal for a normal user, especially on upgrade) can return nil. Failure is signified by 'false', so now we explicitly catch this and return early without bypassing isolation. Users with no roles (nil) or with roles but not prosody:restricted bypass isolation. |
||
---|---|---|
.github | ||
ansible | ||
docker | ||
docs | ||
snikket-modules | ||
tools | ||
.hg_archival.txt | ||
.hgignore | ||
CHANGELOG.md | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
NOTICE | ||
README.md | ||
docker-compose.yml | ||
mkdocs.yml | ||
po4a.conf | ||
snikket.conf.example |
README.md
Snikket server images
This is the source repository for building Snikket service Docker images.
Snikket is an open-source self-hosted personal messaging service. It aims to provide an alternative to proprietary and centralized messaging platforms while supporting all the expected features and being easy to use.
For more information see the Snikket website.
Getting Started with Snikket
For instructions on getting started with Snikket, see the Snikket installation guide on our website.
Building images
This section is for people who want to build their own images of Snikket, e.g. for development purposes.
Requirements
- GNU make
- docker (tested on 19.03.5)
- ansible (tested on 2.7 (debian buster))
Building
Run make
Running
The easiest way is to use docker-compose. Copy the file snikket.conf.example
to
snikket.conf
and edit the values in it. Then run:
docker-compose up -d