feat: add invite-only tutorial (#49)

pull/63/head
4444dogs 2 years ago committed by GitHub
parent 6ce832a566
commit 779dc4f27d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,3 +95,14 @@ services:
database:
image: mongo:4.4
```
### Making your instance invite-only
Enable invite-only mode by setting `REVOLT_INVITE_ONLY` in `.env` to `1`
Create an invite (Replace "YOUR INVITE HERE" with what you want the invite code to be)
```bash
docker-compose exec database mongosh
use revolt
db.invites.insertOne({ _id: "YOUR INVITE HERE" })
```

Loading…
Cancel
Save