|
@@ -87,25 +87,7 @@ what is registered in Entra. For local testing the default
|
|
|
port `8088`, so use `http://localhost:8088` if you have not edited
|
|
port `8088`, so use `http://localhost:8088` if you have not edited
|
|
|
`docker-compose.yml`.
|
|
`docker-compose.yml`.
|
|
|
|
|
|
|
|
-### 3.3 Session secret
|
|
|
|
|
-
|
|
|
|
|
-```
|
|
|
|
|
-SESSION_SECRET=<random string, at least 32 bytes>
|
|
|
|
|
-```
|
|
|
|
|
-
|
|
|
|
|
-Used to derive the session cookie name and CSRF tokens. Generate one with
|
|
|
|
|
-either of:
|
|
|
|
|
-
|
|
|
|
|
-```bash
|
|
|
|
|
-openssl rand -hex 32
|
|
|
|
|
-# or
|
|
|
|
|
-head -c 48 /dev/urandom | base64
|
|
|
|
|
-```
|
|
|
|
|
-
|
|
|
|
|
-Rotating this value invalidates all active sessions — users will need to
|
|
|
|
|
-sign in again, but no data is lost.
|
|
|
|
|
-
|
|
|
|
|
-### 3.4 Database and session storage paths
|
|
|
|
|
|
|
+### 3.3 Database and session storage paths
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
DB_PATH=/var/www/data/app.sqlite
|
|
DB_PATH=/var/www/data/app.sqlite
|
|
@@ -116,7 +98,7 @@ Leave the defaults unless you are also remapping the volume. The parent
|
|
|
directory `/var/www/data` is the volume mount point inside the container
|
|
directory `/var/www/data` is the volume mount point inside the container
|
|
|
and corresponds to `./data/` on the host.
|
|
and corresponds to `./data/` on the host.
|
|
|
|
|
|
|
|
-### 3.5 Environment mode
|
|
|
|
|
|
|
+### 3.4 Environment mode
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
APP_ENV=production
|
|
APP_ENV=production
|
|
@@ -125,7 +107,7 @@ APP_ENV=production
|
|
|
`production` silences verbose PHP errors. Any other value (e.g. `dev`)
|
|
`production` silences verbose PHP errors. Any other value (e.g. `dev`)
|
|
|
turns them on — useful when troubleshooting in a non-public install.
|
|
turns them on — useful when troubleshooting in a non-public install.
|
|
|
|
|
|
|
|
-### 3.6 Local admin fallback (optional)
|
|
|
|
|
|
|
+### 3.5 Local admin fallback (optional)
|
|
|
|
|
|
|
|
```
|
|
```
|
|
|
LOCAL_ADMIN_EMAIL=admin@example.com
|
|
LOCAL_ADMIN_EMAIL=admin@example.com
|