mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Merge branch 'master' into fix_docker_run
This commit is contained in:
commit
82b3eb4c3c
@ -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)
|
||||||
|
|
||||||
@ -24,8 +23,8 @@ Environment variables
|
|||||||
|
|
||||||
Volumes
|
Volumes
|
||||||
-----
|
-----
|
||||||
- /usr/src/app/data/media
|
- /usr/src/app/data
|
||||||
- /usr/src/app/data/db
|
- /usr/src/app/config
|
||||||
|
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
|
Loading…
Reference in New Issue
Block a user