mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Fix up Docker_README
This commit is contained in:
parent
a5de3bf6cb
commit
22ed6a6813
@ -8,11 +8,10 @@ docker run -d --name ytsm -p 80:8000 --volume /media/ytsm/data:/usr/src/ytsm/dat
|
||||
```
|
||||
### Quick Rundown:
|
||||
- `--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)
|
||||
|
||||
**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
|
||||
-----
|
||||
|
Loading…
Reference in New Issue
Block a user