kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Templated Files
rodzic
718519af5b
commit
fa1e1cb266
|
@ -90,7 +90,7 @@ Docker images are configured using parameters passed at runtime (such as those a
|
|||
|
||||
| Volume | Function |
|
||||
| :----: | --- |
|
||||
| `/config` | Where tt-rss should store it's config files. |
|
||||
| `/config` | Where tt-rss should store it's config files and data. |
|
||||
|
||||
|
||||
|
||||
|
@ -109,11 +109,26 @@ In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as bel
|
|||
|
||||
## Application Setup
|
||||
|
||||
You must create a user and database for tt-rss to use in a mysql/mariadb or postgresql server. In the setup page for database, use the ip address rather than hostname...
|
||||
You must create a user and database for tt-rss to use in a mysql/mariadb or postgresql server. A basic nginx configuration file can be found in /config/nginx/site-confs , edit the file to enable ssl (port 443 by default), set servername etc.. Self-signed keys are generated the first time you run the container and can be found in /config/keys , if needed, you can replace them with your own.
|
||||
|
||||
A basic nginx configuration file can be found in /config/nginx/site-confs , edit the file to enable ssl (port 443 by default), set servername etc.. Self-signed keys are generated the first time you run the container and can be found in /config/keys , if needed, you can replace them with your own.
|
||||
After you run the initial setup for this application from the `/install/` web directory a config.php will be generated inside the container. To have access to this file in /config/config.php you will need to restart the container using:
|
||||
```
|
||||
docker restart tt-rss
|
||||
```
|
||||
|
||||
The site files are in /config/www/tt-rss , you can find config files and themes folder there. Email and other settings are in the config.php file.
|
||||
**The default username and password after initial configuration is admin/password**
|
||||
|
||||
## Power users
|
||||
The container can configure itself using environment variables, the gaurd for this logic to run is if the variable `DB_TYPE` is set. The most common variables to set are a URL for the application and a database endpoint. IE:
|
||||
* -e DB_TYPE=mysql
|
||||
* -e DB_HOST=host
|
||||
* -e DB_USER=user
|
||||
* -e DB_NAME=name
|
||||
* -e DB_PASS=password
|
||||
* -e DB_PORT=3306
|
||||
* -e SELF_URL_PATH=http://localhost/
|
||||
|
||||
Please note if you use this method you need to have an already initialized database endpoint. We do our best to ensure that anything in the config.php can be set via these environment variables.
|
||||
|
||||
|
||||
|
||||
|
@ -130,6 +145,7 @@ The site files are in /config/www/tt-rss , you can find config files and themes
|
|||
|
||||
## Versions
|
||||
|
||||
* **26.02.19:** - Install app in container, add php-ldap, allow env vars to generate config, thanks Neraud and Fmstrat.
|
||||
* **22.02.19:** - Rebasing to alpine 3.9.
|
||||
* **28.01.19:** - Add pipeline logic and multi arch.
|
||||
* **21.08.18:** - Rebase to alpine linux 3.8.
|
||||
|
|
Ładowanie…
Reference in New Issue