Skip to content

Commit e03ddf9

Browse files
committed
update to use config.yaml
1 parent 5548b68 commit e03ddf9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Features:
2727

2828
## Config
2929

30-
Place your config file in `./transcode.yml` (or `/etc/transcode/transcode.yml`). The streams are defined like this:
30+
Place your config file in `./config.yaml` (or `/etc/transcode/config.yaml`). The streams are defined like this:
3131

3232
```yaml
3333
streams:
@@ -75,7 +75,7 @@ docker build -t go-transcode:latest .
7575
docker run --rm -d \
7676
--name="go-transcode" \
7777
-p "8080:8080" \
78-
-v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode:latest
78+
-v "${PWD}/config.yaml:/app/config.yaml" go-transcode:latest
7979
```
8080

8181
## Nvidia GPU support (docker)
@@ -97,7 +97,7 @@ docker run --rm -d \
9797
--gpus=all \
9898
--name="go-transcode-nvidia" \
9999
-p "8080:8080" \
100-
-v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode-nvidia:latest
100+
-v "${PWD}/config.yaml:/app/config.yaml" go-transcode-nvidia:latest
101101
```
102102

103103
### Supported inputs

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ services:
88
ports:
99
- "8080:8080"
1010
volumes:
11-
- ./transcode.yaml:/app/transcode.yaml
11+
- ./config.yaml:/app/config.yaml
1212
command: serve -d

tests/reload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ $# -lt 1 ] || [ ! -f "$1" ]; then
77
exit 1
88
fi
99

10-
tmpfile=$(mktemp --suffix .yml)
10+
tmpfile=$(mktemp --suffix .yaml)
1111
log=$(mktemp)
1212

1313
BASE_PORT=8888

0 commit comments

Comments
 (0)