From 38d2012c90ef8dd579d48ae0df9ef5272926b36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sat, 25 Sep 2021 20:46:00 +0200 Subject: [PATCH] fix outdated docker build. --- README.md | 6 ++---- docker-compose.yaml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1ccb628..d71a5d3 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,6 @@ In these profile directories, actual profiles are located in `hls/` and `http/`, ## Docker -*TODO: outdated docker section* - ### Build ```sh @@ -82,7 +80,7 @@ docker build -t go-transcode:latest . docker run --rm -d \ --name="go-transcode" \ -p "8080:8080" \ - -v "${PWD}/streams.yaml:/app/streams.yaml" go-transcode:latest + -v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode:latest ``` ## Nvidia GPU support (docker) @@ -104,7 +102,7 @@ docker run --rm -d \ --gpus=all \ --name="go-transcode-nvidia" \ -p "8080:8080" \ - -v "${PWD}/streams.yaml:/app/streams.yaml" go-transcode-nvidia:latest + -v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode-nvidia:latest ``` ### Supported inputs diff --git a/docker-compose.yaml b/docker-compose.yaml index 08ffca7..b008a33 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,5 +8,5 @@ services: ports: - "8080:8080" volumes: - - ./streams.yaml:/app/streams.yaml + - ./transcode.yaml:/app/transcode.yaml command: serve -d