Fix up Docker_README

This commit is contained in:
Brandon 2018-11-08 17:27:44 -08:00
parent a5de3bf6cb
commit 22ed6a6813
No known key found for this signature in database
GPG Key ID: F7B1F4C1945CAF03

View File

@ -8,11 +8,10 @@ docker run -d --name ytsm -p 80:8000 --volume /media/ytsm/data:/usr/src/ytsm/dat
``` ```
### Quick Rundown: ### Quick Rundown:
- `--expose 80:8000` maps the Host OS port 80 to the container port 80 - `--expose 80:8000` maps the Host OS port 80 to the container port 80
- `--volume ./downloads:/usr/src/app/data/downloads` maps the downloads folder of the current directory to the container folder `downloads` (where you could set the program to download to) - `--volume /media/ytsm/data:/usr/src/app/data` maps the data folder on the host to the container folder `data`
- `--volume /media/ytsm/coinfig:/usr/src/app/config` maps the config folder on the host to the container folder `config`
- `chibicitiberiu/ytsm:latest` tells Docker which image to run the container with (in this case, the latest version) - `chibicitiberiu/ytsm:latest` tells Docker which image to run the container with (in this case, the latest version)
**Note:** Replace `./downloads` in the command to where you want the downloads folder to be mapped to on the Host OS. Ex: `/path/to/host/download/folder:/path/to/container/download/folder`
Environment variables Environment variables
----- -----