SELF_URL_PATH-related updates/clarification
This commit is contained in:
parent
9b0a93677d
commit
176731e3fb
|
@ -9,9 +9,12 @@ OWNER_GID=1000
|
|||
|
||||
HTTP_HOST=localhost
|
||||
|
||||
# You will likely need to set this to the correct value, see README.md
|
||||
# for more information.
|
||||
SELF_URL_PATH=http://$HTTP_HOST:8280/
|
||||
|
||||
# bind exposed port to 127.0.0.1 by default in case reverse proxy is used.
|
||||
# if you plan to run the container standalone and need origin port exposed
|
||||
# use next HTTP_PORT definition (or remove "127.0.0.1:").
|
||||
|
||||
HTTP_PORT=127.0.0.1:8280
|
||||
#HTTP_PORT=8280
|
||||
|
|
|
@ -32,7 +32,7 @@ URL as seen when opening it in your web browser. If this field is set incorrectl
|
|||
likely see the correct value in the tt-rss fatal error message.
|
||||
|
||||
Note: ``SELF_URL_PATH`` is updated in generated tt-rss ``config.php`` automatically on container
|
||||
restart.
|
||||
restart. You don't need to modify ``config.php`` manually for this.
|
||||
|
||||
* By default, container binds to **localhost** port **8280**. If you want the container to be
|
||||
accessible on the net, without using a reverse proxy sharing same host, you will need to
|
||||
|
|
|
@ -29,7 +29,7 @@ services:
|
|||
- DB_PASS=${POSTGRES_PASSWORD}
|
||||
- OWNER_UID=${OWNER_UID}
|
||||
- OWNER_GID=${OWNER_GID}
|
||||
- SELF_URL_PATH=http://${HTTP_HOST}:${HTTP_PORT}/tt-rss
|
||||
- SELF_URL_PATH=${SELF_URL_PATH}
|
||||
volumes:
|
||||
- app:/var/www/html
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in New Issue