You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: howto/ENV.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
NODE_ENV=production
5
5
HTTPS=true
6
6
APP_URL=https://your-scatola-magica-domain.com
7
-
DATABASE_URL=file:/data/scatola.db
8
7
UPLOAD_DIR=/data/uploads
9
8
MAX_CHUNK_SIZE=104857600
10
9
PARALLEL_UPLOADS=12
@@ -16,10 +15,9 @@ OIDC_ADMIN_GROUPS=admins
16
15
DISABLE_PASSWORD_LOGIN=true
17
16
```
18
17
19
-
### Mandatory (for production instances)
18
+
### Mandatory
20
19
21
20
-`NODE_ENV=production` Sets the Node.js environment to production mode for optimal performance and security.
22
-
-`DATABASE_URL=file:/data/scatola.db` SQLite database file location for storing file metadata and user data.
23
21
24
22
### Upload Configuration
25
23
@@ -31,7 +29,7 @@ DISABLE_PASSWORD_LOGIN=true
31
29
### Optional
32
30
33
31
-`HTTPS=true` Optional. Enables HTTPS mode for secure connections.
34
-
-`APP_URL=https://your-scatola-magica-domain.com` Force a base URL of your Scatola Magica instance. Required for SSO but optional otherwise - if you have trouble logging in with reverse proxy try setting this up as it will force the application to login using this exact url.
32
+
-`APP_URL=https://scatola-magica-domain.com` Force a base URL of your Scatola Magica instance. Required for SSO but optional otherwise - if you have trouble logging in with reverse proxy try setting this up as it will force the application to login using this exact url.
35
33
-`INTERNAL_API_URL=http://localhost:3000` Optional. URL used for internal API calls within the container. Defaults to `http://localhost:3000` if not set. Only needed if you're experiencing session validation issues behind a reverse proxy.
36
34
-`ENCRYPTION_KEY=your-secret-key` Optional. Encrypts folder paths in browser URLs for additional security. Can be any length string. When set, folder paths like `/documents/reports` will appear as encrypted strings in the URL bar. Leave unset for plain folder paths.
0 commit comments