From e18b01dafbffb41febd66451e705f645ba13af83 Mon Sep 17 00:00:00 2001 From: rustmailer Date: Wed, 19 Nov 2025 10:16:39 +0800 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 581b863..24be63d 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,26 @@ docker run -d \ rustmailer/bichon:latest ``` -Access `http://localhost:15630` to start using Bichon. +* If you are accessing Bichon on the same machine where it is installed (Machine A), open: + ``` + http://localhost:15630 + ``` + +* If you are accessing Bichon from another machine (Machine B), make sure to set CORS with the IP of Machine B, for example: + +```bash +# Run container +docker run -d \ + --name bichon \ + -p 15630:15630 \ + -v $(pwd)/bichon-data:/data \ + -e BICHON_LOG_LEVEL=info \ + -e BICHON_ROOT_DIR=/data \ + -e BICHON_CORS_ORIGINS="http://localhost:15630,http://B_MACHINE_IP:15630,*" \ + rustmailer/bichon:latest +``` +Access instructions: +This allows Machine B to access the Bichon interface on Machine A via a browser. ### Binary Deployment