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:
Ibaraki Douji
2026-07-29 09:07:52 +05:00
committed by GitHub
parent 7ce7f02646
commit 3c7327d3c7
20 changed files with 663 additions and 18 deletions
+11 -2
View File
@@ -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