Update guide on APPLICATION_HOST(S)

This commit is contained in:
sunstep 2024-09-24 12:37:59 +02:00 committed by GitHub
parent b09546e12a
commit 8911ad4d9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,8 +11,23 @@ At the time of writing this, the way to set the environment variable is to edit
dawarich_app:
image: freikin/dawarich:latest
container_name: dawarich_app
...
environment:
APPLICATION_HOSTS: "yourhost.com,www.yourhost.com,127.0.0.1"
...
APPLICATION_HOST: "yourhost.com" <-- Edit this
APPLICATION_HOSTS: "yourhost.com,www.yourhost.com,127.0.0.1" <-- Edit this
```
```yaml
dawarich_sidekiq:
image: freikin/dawarich:latest
container_name: dawarich_sidekiq
...
environment:
...
APPLICATION_HOST: "yourhost.com" <-- Edit this
APPLICATION_HOSTS: "yourhost.com,www.yourhost.com,127.0.0.1" <-- Edit this
...
```
For a Synology install, refer to **[Synology Install Tutorial](How_to_install_Dawarich_on_Synology.md)**. In this page, it is explained how to set the APPLICATION_HOSTS environment variable.