chore: add notes

This commit is contained in:
Paul Makles
2022-04-29 19:32:39 +01:00
committed by GitHub
parent 28bab41878
commit 51df0f07a0

View File

@@ -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
```