Skip to content

Commit cf2ee09

Browse files
authored
remove deprecated DATABASE_URL from env variables
1 parent bccb9e9 commit cf2ee09

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

howto/ENV.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
NODE_ENV=production
55
HTTPS=true
66
APP_URL=https://your-scatola-magica-domain.com
7-
DATABASE_URL=file:/data/scatola.db
87
UPLOAD_DIR=/data/uploads
98
MAX_CHUNK_SIZE=104857600
109
PARALLEL_UPLOADS=12
@@ -16,10 +15,9 @@ OIDC_ADMIN_GROUPS=admins
1615
DISABLE_PASSWORD_LOGIN=true
1716
```
1817

19-
### Mandatory (for production instances)
18+
### Mandatory
2019

2120
- `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.
2321

2422
### Upload Configuration
2523

@@ -31,7 +29,7 @@ DISABLE_PASSWORD_LOGIN=true
3129
### Optional
3230

3331
- `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.
3533
- `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.
3634
- `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.
3735

0 commit comments

Comments
 (0)