mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-03-20 01:35:16 -05:00
chore: add notes
This commit is contained in:
20
README.md
20
README.md
@@ -51,19 +51,27 @@ Then bring up Revolt:
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Expose Database
|
## Additional Notes
|
||||||
|
|
||||||
You can insecurely expose the database by creating `docker-compose.override.yml` with the content:
|
### Expose database
|
||||||
|
|
||||||
|
You can insecurely expose the database by adding a port definition:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
# docker-compose.override.yml
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
```
|
```
|
||||||
|
|
||||||
## To-Do
|
### Mongo compatibility
|
||||||
|
|
||||||
- Interactive setup.
|
Older processors may not support the latest MongoDB version, you may pin to MongoDB 4.4 as such:
|
||||||
- Add Caddy.
|
|
||||||
- Add voso.
|
```yml
|
||||||
|
# docker-compose.override.yml
|
||||||
|
services:
|
||||||
|
database:
|
||||||
|
image: mongo:4.4
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user