Improve YOURLS documentation about env variables

Include the official documentation link for variable descriptions.

Closes #1520
This commit is contained in:
Léo Colombaro 2019-07-10 01:12:51 +02:00 committed by GitHub
parent 791346b610
commit c531d3f27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ $ docker run --name some-%%REPO%% --link some-mysql:mysql \
-d %%IMAGE%%
```
The following environment variables are also honored for configuring your YOURLS instance:
The YOURLS instance accepts [a number of environment variables for configuration](https://yourls.org/#Config).
A few notable/important examples for using this Docker image include:
- `-e YOURLS_DB_HOST=...` (defaults to the IP and port of the linked `mysql` container)
- `-e YOURLS_DB_USER=...` (defaults to "root")