mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-08-13 20:10:18 +02:00
docker: fix compose self-hosting and add external Mongo/MinIO/Garage examples (#106)
* docker: update .env and docker-compose.yml for SMTP and new services * docker: add external MinIO, MongoDB, and GarageHQ examples with setup instructions * docs: update README with dotenv docker setup instructions and configuration redirect for external services * docker: update service dependency condition for setup-themes in docker-compose.yml * chore: update example URLs in .env for public services
This commit is contained in:
@@ -55,17 +55,26 @@ dotnet run --project Streetwriters.Identity/Streetwriters.Identity.csproj
|
||||
|
||||
The sync server can easily be started using Docker.
|
||||
|
||||
Download `docker-compose.yml` and [`.env`](.env):
|
||||
|
||||
```bash
|
||||
wget https://raw.githubusercontent.com/streetwriters/notesnook-sync-server/master/docker-compose.yml
|
||||
wget https://raw.githubusercontent.com/streetwriters/notesnook-sync-server/master/.env
|
||||
```
|
||||
|
||||
And then use Docker Compose to start the servers:
|
||||
Edit `.env` and set at least `NOTESNOOK_API_SECRET`. See `.env` for all configuration options.
|
||||
|
||||
Then start the stack:
|
||||
|
||||
```bash
|
||||
docker compose up
|
||||
```
|
||||
|
||||
This takes care of setting up everything including MongoDB, Minio etc.
|
||||
This sets up MongoDB, MinIO, and the Notesnook services.
|
||||
|
||||
Optional services (`themes-server`, `cors-proxy`, `inbox-api`): `docker compose --profile extras up`
|
||||
|
||||
For external MongoDB, MinIO, or Garage deployments, see [`examples/`](examples/).
|
||||
|
||||
## TODO Self-hosting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user