Skip to content

Commit

Permalink
Remove embedded compose file from README.
Browse files Browse the repository at this point in the history
Merge it into the provided docker-compose.yaml and enable WEB_AUDIO by
default
  • Loading branch information
outlyer-net committed Jul 19, 2024
1 parent 5d9419b commit 31e2b55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
20 changes: 2 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,25 +170,9 @@ docker rm losslesscut
## Docker Compose File
Here is an example of a `docker-compose.yml` file that can be used with [Docker Compose](https://docs.docker.com/compose/overview/).
An example [`docker-compose.yaml`](./blob/docker-compose.yaml) file is provided for use with [Docker Compose](https://docs.docker.com/compose/overview/).
Make sure to adjust according to your needs. Note that only mandatory network
ports are part of the example.
```yaml
---
services:
losslesscut:
image: outlyernet/losslesscut
ports:
- "5800:5800" # Web UI
volumes:
- "./losslesscut:/config:rw"
- "$HOME:/storage:rw"
environment:
DARK_MODE: "1"
SECURE_CONNECTION: "1"
```
Make sure to adjust according to your needs. Note that only mandatory network ports are part of the example.
## Docker Image Versioning
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ services:
- ${HOME?}:/storage:rw
# Alternative path matching the host
- ${HOME}:${HOME}:rw

environment:
WEB_AUDIO: ${WEB_AUDIO:-1}
DARK_MODE: ${DARK_MODE:-1}
SECURE_CONNECTION: ${SECURE_CONNECTION:-1}

0 comments on commit 31e2b55

Please sign in to comment.