note about user

This commit is contained in:
minish 2024-05-25 01:47:08 -04:00
parent 38c4447da8
commit 0a98b6b8ba
Signed by: min
GPG Key ID: FEECFF24EF0CE9E9
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,8 @@ services:
- /srv/uploads:/data - /srv/uploads:/data
- ./breeze.toml:/etc/breeze.toml - ./breeze.toml:/etc/breeze.toml
user: 1000:1000
ports: ports:
- 8383:8000 - 8383:8000
``` ```
@ -43,6 +45,7 @@ For this configuration, it is expected that:
* there is a `breeze.toml` config file in current directory * there is a `breeze.toml` config file in current directory
* there is a directory at `/srv/uploads` for storing uploads * there is a directory at `/srv/uploads` for storing uploads
* port 8383 will be made accessible to the Internet somehow (either forwarding the port through your firewall directly, or passing it through a reverse proxy) * port 8383 will be made accessible to the Internet somehow (either forwarding the port through your firewall directly, or passing it through a reverse proxy)
* you want the uploads to be owned by the user on your system with id 1000. (this is usually your user)
It can also be installed directly if you have the Rust toolchain installed: It can also be installed directly if you have the Rust toolchain installed:
```bash ```bash