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.