tsk-61: Registration configuration (#73)

Closes #61

Reviewed-on: #73
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-10-20 16:48:48 +00:00
committed by phoenix
parent 6ec3b25e7d
commit e86ca4b2c8
7 changed files with 105 additions and 57 deletions
+8 -4
View File
@@ -8,22 +8,26 @@ need to be modified. The `SECRET_KEY` variable should be changed since it will b
generation. The `SECRET_PASSPHASE` should also be changed when in production mode, but make sure
the respective `passphrase` database table record exists.
Build image
To enable or disable registrations, use `TRUE` or `FALSE` for the `ENABLE_REGISTRATION` variable.
By default it is `TRUE`.
### Build image
```
docker compose build
```
Start images
### Start images
```
docker compose up -d --force-recreate
```
Bring it down
### Bring it down
```
docker compose down -v
```
Pruning
### Pruning
```
docker system prune -a
```