Skip to content

Commit 31e2b55

Browse files
committed
Remove embedded compose file from README.
Merge it into the provided docker-compose.yaml and enable WEB_AUDIO by default
1 parent 5d9419b commit 31e2b55

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

README.md

+2-18
Original file line numberDiff line numberDiff line change
@@ -170,25 +170,9 @@ docker rm losslesscut
170170
171171
## Docker Compose File
172172
173-
Here is an example of a `docker-compose.yml` file that can be used with [Docker Compose](https://docs.docker.com/compose/overview/).
173+
An example [`docker-compose.yaml`](./blob/docker-compose.yaml) file is provided for use with [Docker Compose](https://docs.docker.com/compose/overview/).
174174
175-
Make sure to adjust according to your needs. Note that only mandatory network
176-
ports are part of the example.
177-
178-
```yaml
179-
---
180-
services:
181-
losslesscut:
182-
image: outlyernet/losslesscut
183-
ports:
184-
- "5800:5800" # Web UI
185-
volumes:
186-
- "./losslesscut:/config:rw"
187-
- "$HOME:/storage:rw"
188-
environment:
189-
DARK_MODE: "1"
190-
SECURE_CONNECTION: "1"
191-
```
175+
Make sure to adjust according to your needs. Note that only mandatory network ports are part of the example.
192176
193177
## Docker Image Versioning
194178

docker-compose.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ services:
1818
- ${HOME?}:/storage:rw
1919
# Alternative path matching the host
2020
- ${HOME}:${HOME}:rw
21-
21+
environment:
22+
WEB_AUDIO: ${WEB_AUDIO:-1}
23+
DARK_MODE: ${DARK_MODE:-1}
24+
SECURE_CONNECTION: ${SECURE_CONNECTION:-1}

0 commit comments

Comments
 (0)