mirror of
https://github.com/joplin-vieweb/joplin-vieweb.git
synced 2025-01-05 21:19:00 +01:00
Update README.md, document ORIGINS in service environment
This commit is contained in:
parent
d3ef37ad10
commit
91bbb389ec
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user