File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,44 @@ go run ./cmd/emby-transcoder -config config.example.json
2424
2525Point a client at the proxy listen address, for example ` http://linux-host:8097 ` .
2626
27+ ## Docker Compose
28+
29+ The published linux/amd64 image is available as ` tces1/emby_transcoder:latest ` .
30+
31+ ``` bash
32+ cd docker
33+ mkdir -p data/transcode
34+ cp config/config.json config/config.local.json
35+ ```
36+
37+ Edit ` docker/config/config.local.json ` before starting:
38+
39+ - set ` upstream.url ` to your Emby or Jellyfin server
40+ - set ` server.public_url ` if clients reach the proxy through another reverse proxy
41+ - leave ` server.debug ` as ` false ` for concise logs, or set it to ` true ` for detailed diagnostics
42+
43+ Update ` docker/docker-compose.yml ` to mount the local config file if you use ` config.local.json ` :
44+
45+ ``` yaml
46+ volumes :
47+ - ./config/config.local.json:/app/config/config.json:ro
48+ - ./data/transcode:/var/lib/emby-transcoder/transcode
49+ ` ` `
50+
51+ Start or update the service:
52+
53+ ` ` ` bash
54+ docker compose pull
55+ docker compose up -d
56+ docker compose logs -f
57+ ```
58+
59+ Stop the service:
60+
61+ ``` bash
62+ docker compose down
63+ ```
64+
2765## Build
2866
2967``` bash
Original file line number Diff line number Diff line change 33## Files
44
55- ` Dockerfile ` : multi-stage image build for EmbyTranscoder plus runtime ` ffmpeg `
6- - ` docker-compose.yml ` : local container run setup
6+ - ` docker-compose.yml ` : container run setup using ` tces1/emby_transcoder:latest `
77- ` config/config.json ` : container config template
88
99## Run
@@ -12,12 +12,13 @@ From the `docker/` directory:
1212
1313``` bash
1414mkdir -p data/transcode
15- docker compose up --build -d
15+ docker compose pull
16+ docker compose up -d
1617```
1718
1819## Configure
1920
20- Edit ` config/config.json ` before startup:
21+ Edit ` config/config.json ` before startup, or copy it to ` config/config.local.json ` and update the compose volume :
2122
2223- set ` upstream.url ` to your Emby or Jellyfin server
2324- set ` server.public_url ` if clients reach the proxy through another reverse proxy
@@ -26,3 +27,11 @@ Edit `config/config.json` before startup:
2627For GitHub Actions publishing to Docker Hub, set ` DOCKERHUB_USERNAME ` and ` DOCKERHUB_TOKEN ` in the repository secrets.
2728
2829The transcode cache is stored in ` docker/data/transcode ` .
30+
31+ ## Operations
32+
33+ ``` bash
34+ docker compose logs -f
35+ docker compose restart
36+ docker compose down
37+ ```
Original file line number Diff line number Diff line change 11services :
22 emby-transcoder :
3- build :
4- context : ..
5- dockerfile : docker/Dockerfile
3+ image : tces1/emby_transcoder:latest
64 container_name : emby-transcoder
75 restart : unless-stopped
86 ports :
You can’t perform that action at this time.
0 commit comments