Updated Docker_README to reflect config changes that have occurred

This commit is contained in:
Brandon 2018-11-03 11:18:33 -07:00
parent 3b608b80b4
commit 85e9d11f1a
No known key found for this signature in database
GPG Key ID: F7B1F4C1945CAF03

View File

@ -8,7 +8,6 @@ docker run -d --name ytsm -p 80:8000 --volume ./downloads:/usr/src/app/data/down
``` ```
### 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
- `--env-file sqlite3.env.env` points to the env file with the desired variable settings (saves from typing them in the command line)
- `--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 ./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)
- `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)