Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added link to full configuration file for documentation
  • Loading branch information
ayfine authored Nov 4, 2020
1 parent ff340ce commit f015357
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This is an example service definition that could be put in `docker-compose.yml`.
The `latest` image now uses youtube-dlc. For the original youtube-dl based image, use `nbr23/youtube-dl-server:youtube-dl`

#### Configuration
For easier configuration management and edition, you can save your variables in an external file and source them in your docker-compose.yml like the following example. [Config Defaults](https://github.com/ayfine/youtube-dl-server/blob/0fddeacf2812831e6ade629d9b53b0a5e78c7845/ydl_server/config.py#L2)
For easier configuration management and edition, you can save your variables in an external file and source them in your docker-compose.yml like the following example.

Configuration file `config.env`:

Expand All @@ -59,6 +59,8 @@ YDL_RECODE_VIDEO_FORMAT="webm"
YDL_SUBTITLES_LANGUAGES="en"
```

The full list of definable variables can be found in [config.py](https://github.com/nbr23/youtube-dl-server/blob/master/ydl_server/config.py).

docker-compose.yml:
```yml
youtube-dl:
Expand Down

0 comments on commit f015357

Please sign in to comment.