mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Update guide on APPLICATION_HOST(S)
This commit is contained in:
parent
b09546e12a
commit
8911ad4d9c
1 changed files with 17 additions and 2 deletions
|
|
@ -8,11 +8,26 @@ Make sure to exclude "http://" or "https://" from the environment variable. ⚠
|
||||||
At the time of writing this, the way to set the environment variable is to edit the docker-compose.yml file. Find all APPLICATION_HOSTS entries in the docker-compose.yml file and make sure to include your domain name. Example:
|
At the time of writing this, the way to set the environment variable is to edit the docker-compose.yml file. Find all APPLICATION_HOSTS entries in the docker-compose.yml file and make sure to include your domain name. Example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
dawarich_app:
|
dawarich_app:
|
||||||
image: freikin/dawarich:latest
|
image: freikin/dawarich:latest
|
||||||
container_name: dawarich_app
|
container_name: dawarich_app
|
||||||
|
...
|
||||||
environment:
|
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.
|
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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue