Update README.adoc
This commit is contained in:
parent
6c074bd56c
commit
37fa62e3df
|
@ -59,12 +59,12 @@ FFMPEG API is provided as Docker image for easy consumption.
|
|||
* When running on Docker/Kubernetes, port binding can be different than default 3000. Use _EXTERNAL_PORT_ to set up external port in returned URLs in extracted images JSON:
|
||||
** `docker run -it --rm -p 3001:3000 -e EXTERNAL_PORT=3001 kazhar/ffmpeg-api`
|
||||
|
||||
=== Example of my case
|
||||
=== In my case (Recommended)
|
||||
|
||||
```bash
|
||||
sudo mkdir /tmp/ffmpeg-api
|
||||
sudo chmod 777 /tmp/ffmpeg-api
|
||||
sudo docker run -d -it -p 3000:3000 -v /tmp/ffmpeg-api:/tmp -e KEEP_ALL_FILES=true gnh1201/ffmpeg-api
|
||||
sudo mkdir /var/cache/ffmpeg-api
|
||||
sudo chmod -R 777 /var/cache/ffmpeg-api
|
||||
sudo docker run -itd --rm -p 3000:3000 -v /var/cache/ffmpeg-api:/tmp -e KEEP_ALL_FILES=true gnh1201/ffmpeg-api
|
||||
```
|
||||
|
||||
== Usage
|
||||
|
|
Loading…
Reference in New Issue
Block a user