Skip to content

Commit

Permalink
update to use config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
klahaha committed Sep 26, 2021
1 parent 5548b68 commit e03ddf9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Features:

## Config

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

```yaml
streams:
Expand Down Expand Up @@ -75,7 +75,7 @@ docker build -t go-transcode:latest .
docker run --rm -d \
--name="go-transcode" \
-p "8080:8080" \
-v "${PWD}/transcode.yaml:/app/transcode.yaml" go-transcode:latest
-v "${PWD}/config.yaml:/app/config.yaml" go-transcode:latest
```

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

### Supported inputs
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ services:
ports:
- "8080:8080"
volumes:
- ./transcode.yaml:/app/transcode.yaml
- ./config.yaml:/app/config.yaml
command: serve -d
2 changes: 1 addition & 1 deletion tests/reload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [ $# -lt 1 ] || [ ! -f "$1" ]; then
exit 1
fi

tmpfile=$(mktemp --suffix .yml)
tmpfile=$(mktemp --suffix .yaml)
log=$(mktemp)

BASE_PORT=8888
Expand Down

0 comments on commit e03ddf9

Please sign in to comment.