mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Merge pull request #25 from bsquidwrd/update_docker_readme
Updated Docker_README to reflect config changes that have occurred
This commit is contained in:
commit
8c0905e119
@ -4,11 +4,10 @@ Running with Docker
|
|||||||
Sample Run command
|
Sample Run command
|
||||||
-----
|
-----
|
||||||
```bash
|
```bash
|
||||||
docker run -d --name ytsm -p 80:8000 --env-file sqlite3.env.env --volume ./downloads:/usr/src/app/data/downloads chibicitiberiu/ytsm:latest
|
docker run -d --name ytsm -p 80:8000 --volume ./downloads:/usr/src/app/data/downloads chibicitiberiu/ytsm:latest
|
||||||
```
|
```
|
||||||
### 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user