From 91bbb389ec621e07796761cd0cf91ed066f06193 Mon Sep 17 00:00:00 2001 From: Nicolas Guillot Date: Mon, 29 Jan 2024 21:54:10 +0100 Subject: [PATCH] Update README.md, document ORIGINS in service environment --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b9679c5..e9938a8 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,14 @@ If you have your own server, use [docker-compose-joplin-only.yml](https://github CERT_DOMAIN: your_domain.com CERT_MAIL: you@zaclys.net ``` + * **⚠** If you prefer writing the ORIGINS directly in django-joplin-vieweb service environment, do it as follow: + ```yaml + services: + django-joplin-vieweb: + environment: + - ORIGINS='https://your_domain.com', 'https://12.34.56.78' + ``` + Note there is no surrounding double quotes (") * If you use nginx and certbot containers: * CERT_DOMAIN: your domain so let's encrypt can contact (IP address doesn't work: you need a domain) * CERT_MAIL: a mail needed by let's encrypt.