This commit is contained in:
Mateusz Gruszczyński
2026-07-26 23:32:44 +02:00
parent 364af50a7c
commit 2857006949
28 changed files with 961 additions and 152 deletions
+18 -3
View File
@@ -242,9 +242,24 @@ docker compose up -d
Test users:
- `mateusz` / `test1234`
- `anna` / `test1234`
- `admin` / `test1234`
- `user` / `test1234`
phpLDAPadmin: `http://10.87.2.6:8088`
phpLDAPadmin: `http://10.0.0.1:8088`
Administrator: `cn=admin,dc=example,dc=org` / `admin`
## CLI and YAML configuration
RustPad reads `.env` as before and can additionally load a YAML file. Environment variables have higher priority than YAML values.
```bash
rustpad --version
rustpad --help
rustpad --config /etc/rustpad/rustpad.yaml check-config
rustpad --config /etc/rustpad/rustpad.yaml migrate
rustpad --config /etc/rustpad/rustpad.yaml
```
`check-config` validates YAML syntax, supported keys, value types, required LDAP/S3/SMTP fields, database URL scheme, paths and dependent settings. It does not connect to the database or LDAP server. Example deployment files are in `systemd/`.