Skip to content

Commit

Permalink
Merge pull request #10 from andypeeters/add-security_opt_description
Browse files Browse the repository at this point in the history
Add compose file security_opt setting description.
  • Loading branch information
jzohrab authored Jan 12, 2025
2 parents 3dbcaa5 + ab28788 commit 901f03c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,26 @@ As with the `pip` installation, you can change the port if your machine is alrea
...
```

If during the startup error messages appear like the following:

> Type: <class 'PermissionError'><br/>
> [Errno 13] Permission denied: '/lute_data/README.md'
The host system may have set some permissions preventing Lute from creation additional files and folders in the container mounted folders.

Add the following lines at the end of the `docker-compose.yml` file to bypass some of those restrictions:

```
...
security_opt:
- label:disable
...
```

> **Note**: Disabling permissions or restrictions may increase the security risk of the host system a bit.
> However, as the change above only applies while the Docker container is running, the additional risk can be considered minimal. Nonetheless, it is good to keep this in mind when applying this modification
> to the `docker-compose.yml` file.
## From source

Developers and gearheads can install Lute from source: see the [Lute repository](https://github.com/luteorg/lute-v3/wiki/Development).
Expand Down

0 comments on commit 901f03c

Please sign in to comment.