π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
feat: remove old docs
Smaug67397592370a9ffb
diff --git a/docs-old/.env.example b/docs-old/.env.exampledeleted file mode 100644index ea07bc5f..00000000--- a/docs-old/.env.example+++ /dev/null@@ -1,81 +0,0 @@-# ==============================================================================-# ALEXANDRIE - ADVANCED ENVIRONMENT CONFIGURATION-# ==============================================================================-# This file contains all available configuration options for Alexandrie, including advanced and optional features.-# For a simpler configuration, please refer to the ".env.example" file which contains only the essential variables.-# Note: This variables will only wotk with the docker-compose.yml file. If you want to use the application without Docker, please refer the frontend/.env and backend/.env files for the required variables.--## 1. PUBLIC ACCESS & GLOBAL URLS--# Public URLs used by the client's browser to reach the services.-FRONTEND_URL=http://localhost:8200-API_URL=http://localhost:8201-CDN_URL=http://localhost:9005--CDN_ENDPOINT=/alexandrie/ # The base path in the CDN where files are served from (you probably want to keep this as /alexandrie/ to match the bucket name, change it only if you changed the bucket name or if you have configured a reverse proxy path)---# 2. APPLICATION FEATURE FLAGS - Enable or disable optional frontend features.--CONFIG_DISABLE_LANDING=false # Disable the landing page if set to true-CONFIG_DISABLE_SIGNUP=false # Disable the signup page if set to true-CONFIG_DISABLE_NATIVE_LOGIN=false # Disable native username/password login if set to true (useful if you only want OAuth providers)-CONFIG_HIDE_NATIVE_LOGIN=false # Hide native username/password login if set to true (useful if you only want OAuth providers)-CONFIG_OIDC_PROVIDER_AUTO_REDIRECT= # Name of OIDC provider to redirect to when landing on login page (can be omitted)---# 3. BACKEND API β RUNTIME & SECURITY--CONFIG_PATH= # Optional path to a custom TOML configuration file. Structure can be found in backend/config.toml.-BACKEND_EXTERNAL_PORT=8201 # The port exposed on your host machine for the Backend API--COOKIE_DOMAIN=localhost:8200 # Common domain for cookies (e.g., yourdomain.com if you have frontend.yourdomain.com and api.yourdomain.com)-ALLOW_UNSECURE=true # true = HTTP allowed (local dev / local machine), false = HTTPS only-JWT_SECRET=your-secure-jwt # Change this in production to a secure random string, used to sign JWT tokens for authentication--ADMIN_ACCOUNTS=id1,id2,id3 # Comma-separated list of user IDs that should have admin privileges (e.g., 1,2,3). Optional.--# OIDC (OpenID Connect) Configuration - Optional, only required if you want to enable OIDC authentication (e.g., Google, Keycloak, etc.). Replace {i} with a number between 1 to 9-#OIDC_{i}_CONFIG_URL = # The URL to fetch the OIDC provider's configuration (e.g., https://accounts.google.com/.well-known/openid-configuration)-#OIDC_{i}_CLIENT_ID = # The Client ID obtained from the OIDC provider for your application-#OIDC_{i}_CLIENT_SECRET= # The Client Secret obtained from the OIDC provider for your application-#OIDC_{i}_PROVIDER_NAME= # A friendly name for the OIDC provider (e.g., "Google", "Keycloak", etc.) used in the frontend for login options--# 4. DATABASE β MYSQL--MYSQL_EXTERNAL_PORT=3307 # The port exposed on your host machine for the MySQL database-MYSQL_DATABASE=alexandrie # The name of the MySQL database to use for Alexandrie--# Access credentials-MYSQL_USER=alexandrie # MySQL username-MYSQL_PASSWORD=password # MySQL password for the above user-MYSQL_ROOT_PASSWORD=rootpassword # MySQL root password (used for initial setup, not used by the application)---# 5. OBJECT STORAGE β S3 (RustFS / MinIO-compatible) (optional, leave empty to disable)--RUSTFS_EXTERNAL_PORT=9005 # The port exposed on your host machine for the S3-compatible Object Storage (RustFS / MinIO)-# Access credentials-RUSTFS_ACCESS_KEY=alexandrie-key-RUSTFS_SECRET_KEY=alexandrie-secret--MINIO_BUCKET=alexandrie # The default bucket used by the application (must match the bucket created in RustFS/MinIO)-MINIO_CA_PATH= # Optional path to CA certificate if using a self-signed certificate for RustFS/MinIO (leave empty if not applicable)-MINIO_INSECURE_TLS=true # Set to true to allow insecure TLS connections to RustFS/MinIO (e.g., for local development with self-signed certs, not recommended for production)--# Runtime options-RUSTFS_CONSOLE_ENABLE=false # Set to true to enable the RustFS web console (not recommended for production)-RUSTFS_LOG_LEVEL=error # Log level for RustFS (debug | info | warn | error)---# 6. EMAIL β SMTP - Required only for password reset only. (optional, leave empty to disable)--SMTP_HOST= # The hostname of your SMTP server (e.g., smtp.ionos.fr)-SMTP_MAIL= # The email address used as the sender for password reset emails-SMTP_MAIL_FROM= # Used as the "from" address in emails, if different from SMTP_MAIL-SMTP_PASSWORD= # The password for the above email address (or an app-specific password if using Gmail with 2FA enabled)---# 7. FRONTEND β NUXT--FRONTEND_EXTERNAL_PORT=8200 # The port exposed on your host machine for the Frontend service\ No newline at end of filediff --git a/docs-old/FAQ.md b/docs-old/FAQ.mddeleted file mode 100644index 95969d4b..00000000--- a/docs-old/FAQ.md+++ /dev/null@@ -1,105 +0,0 @@-# FAQ β Common Issues & Troubleshooting--## I am instantly logged out after logging in (login loop)--**Symptoms**--- Login succeeds (no error message).-- You are redirected correctly.-- You are immediately logged out or returned to the login page.-- Refreshing the page shows you as unauthenticated.--**Cause**--This is usually caused by a misconfiguration of the `COOKIE_DOMAIN` environment variable in the backend service.--**Common mistakes**--- Including protocol (http:// or https://) in `COOKIE_DOMAIN`.-- Setting `COOKIE_DOMAIN` to a subdomain that does not match both frontend and backend domains.-- Setting `COOKIE_DOMAIN` to a domain that does not match the actual domain used to access the services.-- Not setting `ALLOW_UNSECURE` to `true` when using HTTP (not HTTPS) in development.--**Correct configuration examples**--- If your frontend is at `frontend.yourdomain.com` and your backend API is at `api.yourdomain.com`, then set `COOKIE_DOMAIN=yourdomain.com`.-- If your frontend is at `frontend.subdomain.yourdomain.com` and your backend API is at `api.subdomain.yourdomain.com`, then set `COOKIE_DOMAIN=subdomain.yourdomain.com`.-- If your frontend is at `yourdomain.com` and your backend API is at `api.yourdomain.com`, then set `COOKIE_DOMAIN=yourdomain.com`.--## Files are uploaded but cannot be accessed--**Symptoms**--- File uploads succeed without errors.-- You show files as uploaded in the frontend (for example on the cdn page, in the datatable or in cards)-- When trying to access the files, you get 404 errors or broken links.--**Cause**-This is usually caused by a misconfiguration of the `CDN_URL` and/or `CDN_ENDPOINT` environment variables in the backend service.--**Common mistakes**--- `CDN_URL` not matching the actual URL used to access to your S3 server storage (for example when using a reverse proxy with a different domain or path)-- `CDN_ENDPOINT` not matching the bucket name or the path used in the reverse proxy.--**Correct configuration examples**--- If your RustFS S3 server is accessible at `http://cdn.yourdomain.com`, then set:- - `CDN_URL=http://cdn.yourdomain.com`- - `CDN_ENDPOINT=/alexandrie/` (/alexandrie/ is the default bucket name, change it only if you changed the bucket name or if your reverse proxy uses a different path)-- If your RustFS S3 server is accessible at `http://yourdomain.com/files/`, then set:- - `CDN_URL=http://yourdomain.com`- - `CDN_ENDPOINT=/files/` (change /files/ to match the path used in your reverse proxy or the bucket name)--Test the right url in your browser by combining `CDN_URL`, `CDN_ENDPOINT` and the object path (you can get the object path from the frontend interface, for example in the cdn page with devtools or by copying the link).--## I have errors with backup system or minio client--**Symptoms**--- Backup creation fails with errors related to link generation with S3 or MinIO (example: Failed to generate download URL: XML syntax error on line 1: attribute name without = in element)--**Cause**-This is usually caused if you have an incorrect value for endpoint of public signer with minio client in the backend service.--**Correct configuration examples**--- If your RustFS S3 server is accessible at `http://cdn.yourdomain.com`, then set: `CDN_URL=http://cdn.yourdomain.com`--Note: According to S3 specification, the URL used to sign must not contain path or query parameters. So make sure your `CDN_URL` variable does not contain path or query parameters.-Example of **incorrect** value: `http://yourdomain.com/files/` (contains path)-Example of **correct** value: `http://cdn.yourdomain.com` (no path or query parameters)--## Additional Resources--- [Official Alexandrie GitHub Repository](https://github.com/Smaug6739/alexandrie)-- [Discord Community](https://discord.gg/UPsEg6egPj)--## HTTPS errors when using MinIO/RustFS with Alexandrie--**Symptoms**--- error like `http: server gave HTTP response to HTTPS client`--**Cause**-This is usually caused by a misconfiguration of the `MINIO_SECURE` environment variable.--**Correct configuration examples**--- If your RustFS S3 server is running with HTTP (not HTTPS), then set: `MINIO_SECURE=false`-- If your RustFS S3 server is running with HTTPS, then set: `MINIO_SECURE=true`--## Admins account not working or I don't see admin features--**Symptoms**--- You have set `ADMIN_ACCOUNTS` but you don't see admin features in the dashboard or you are not recognized as admin.--**Cause**-This is usually caused by an incorrect value in the `ADMIN_ACCOUNTS` environment variable or by not including your user ID in the list. This also be caused if you did not restart the backend service after changing the environment variable and logging out and back in.--**Correct configuration examples**--- If your user ID is `1` and you want to give admin privileges to users with IDs `2` and `3`, then set: `ADMIN_ACCOUNTS=1,2,3`-- Restart the backend service-- Wait for a few minutes to see changes in frontend (you may need to log out and log back in to see changes)diff --git a/docs-old/README.md b/docs-old/README.mddeleted file mode 100644index d118a7f9..00000000--- a/docs-old/README.md+++ /dev/null@@ -1,273 +0,0 @@-# Alexandrie Setup Guide--This guide explains how to set up, configure, and deploy the Alexandrie stack.--It covers both **local development** and **production deployment**, including how to configure environment variables, connect the different services, and handle HTTPS with a reverse proxy.-------## Overview of the Stack--The Alexandrie stack consists of four main services, defined in the `docker-compose.yml` file:--| Service | Description |-| ------------ | ------------------------------------------------------------------------------ |-| **MySQL** | Relational database used to store user data and metadata. |-| **RustFS** | S3-compatible object storage used for file and media storage. |-| **Backend** | The Go-based API server providing authentication, storage, and access control. |-| **Frontend** | A Nuxt 4 web app that communicates with the backend via REST API. |--All services are connected through a dedicated Docker network (`alexandrie-network`).-------## Quick Start--For local testing, you can run Alexandrie directly using the provided `docker-compose.yml`:--Download the `docker-compose.yml` file from the repository: [https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml](https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml) and run:--```bash-docker compose up-```--Once the containers are running:--- Frontend β http://localhost:8200-- Backend API β http://localhost:8201-- Object Storage (RustFS) β http://localhost:9000--> [!NOTE]-> No default account is created. You can register a new user directly from the frontend.-> If you want to make it admin of application, add the account ID to the `ADMIN_ACCOUNTS` variable.--## Configuration (Environment Variables)--To customize the setup (ports, domains, security, feature flags, production deployment), you can create a `.env` file next to `docker-compose.yml`.--The `.env` file template can be found here: [https://github.com/Smaug6739/Alexandrie/blob/main/.env.example](https://github.com/Smaug6739/Alexandrie/blob/main/.env.example)--Only the variables defined in `.env.example` are officially supported.--### 1. Public URLs & Global Access--```env-FRONTEND_URL=http://localhost:8200-API_URL=http://localhost:8201-CDN_URL=http://localhost:9005--CDN_ENDPOINT=/alexandrie/-```--These variables define how clients (browsers) reach your services.--- `FRONTEND_URL`: The public URL for the frontend service.-- `API_URL`: The public URL for the backend API service.-- `CDN_URL`: The public URL for the object storage service (RustFS).-- `CDN_ENDPOINT`: The path prefix under which files are exposed. You probably want to keep this as /alexandrie/ to match the bucket name, change it only if you changed the bucket name or if you have configured a reverse proxy path.- Final URL are constructed as: `<CDN_URL><CDN_ENDPOINT><object-path>`- If you have a problem with files URL just open devtools in your browser and check the actual URL used to load files and then adjust these variables accordingly.--### 2. Application Feature Flags--```env-CONFIG_DISABLE_LANDING=false-CONFIG_DISABLE_SIGNUP=false-CONFIG_DISABLE_NATIVE_LOGIN=false-CONFIG_OIDC_PROVIDER_AUTO_REDIRECT=""-CONFIG_HIDE_NATIVE_LOGIN_FORM=false-```--These variables control specific features of the application (useful for private deployments, internal tools etc.).--- `CONFIG_DISABLE_LANDING`: If set to `true`, the landing page is disabled, and users are redirected to the login page. The default is `false`.-- `CONFIG_DISABLE_SIGNUP`: If set to `true`, new user registrations are disabled (in frontend + backend for security). The default is `false`.-- `CONFIG_DISABLE_NATIVE_LOGIN`: If set to `true`, the native username/password login method is disabled. This is useful if you want to enforce OIDC or other external authentication methods. The default is `false`.-- `CONFIG_HIDE_NATIVE_LOGIN_FORM`: If set to `true`, the native username/password login method is hidden. This is useful if you want to enforce OIDC or other external authentication methods but without setting up `CONFIG_OIDC_PROVIDER_AUTO_REDIRECT`. The default is `false`. Recommended to use in conjunction with `CONFIG_DISABLE_NATIVE_LOGIN`.-- `CONFIG_OIDC_PROVIDER_AUTO_REDIRECT`: Provide a string that matches the provider name of one of your OIDC providers, if provided the user is automatically redirected to the OIDC login when landing on the login page.---### 3. Backend API β Runtime & Security--```env-BACKEND_EXTERNAL_PORT=8201-COOKIE_DOMAIN=localhost:8200-ALLOW_UNSECURE=true-JWT_SECRET=your-secure-jwt-secret-key-change-this-in-production-ADMIN_ACCOUNTS=id1,id2,id3-```--These variables configure the backend API service.--- `BACKEND_EXTERNAL_PORT`: The port exposed on your host machine for the Backend API service.-- `COOKIE_DOMAIN` (IMPORTANT): This variable defines where authentication cookies are valid.- It should match with the common domain used by both frontend and backend services.- Example: If your frontend is at `frontend.yourdomain.com` and your backend API is at `api.yourdomain.com`, then set `COOKIE_DOMAIN=yourdomain.com`.- **Rules:**- - Must match with the highest common domain between the frontend and the backend. See #286 for more details.- - Must NOT include protocol (http:// or https://)- - If misconfigured, login will appear to work but users will be instantly logged out-- `ALLOW_UNSECURE`: If set to `true`, HTTP connections are allowed (useful for local and dev). In production, it is recommended to set this to `false` to enforce HTTPS.-- `JWT_SECRET`: Secret key used to sign JWT tokens. You should change this to a random long string correcly generated (with openssl or similar) in production for security. Changing this value will invalidate all existing sessions.-- `ADMIN_ACCOUNTS`: Comma-separated list of user IDs that should have admin privileges (e.g., `1,2,3`). Optional.--### 4. Database β MySQL--```env-MYSQL_EXTERNAL_PORT=3307-MYSQL_DATABASE=alexandrie-MYSQL_USER=alexandrie-MYSQL_PASSWORD=password-MYSQL_ROOT_PASSWORD=rootpassword-```--These variables configure the MySQL database service.--- `MYSQL_EXTERNAL_PORT`: The port exposed on your host machine for the MySQL service.-- `MYSQL_DATABASE`: The name of the default database created for Alexandrie.-- `MYSQL_USER`: The username for the default Alexandrie database user.-- `MYSQL_PASSWORD`: The password for the default Alexandrie database user.-- `MYSQL_ROOT_PASSWORD`: The password for the MySQL root user.--### 5. Object Storage β S3 (RustFS / MinIO-compatible) (optional, leave empty to disable)--```env-RUSTFS_EXTERNAL_PORT=9005--RUSTFS_ACCESS_KEY=alexandrie-key-RUSTFS_SECRET_KEY=alexandrie-secret--MINIO_BUCKET=alexandrie-```--These variables configure the RustFS object storage service.--- `RUSTFS_EXTERNAL_PORT`: The port exposed on your host machine for the RustFS service.-- `RUSTFS_ACCESS_KEY`: The access key for the RustFS S3-compatible API.-- `RUSTFS_SECRET_KEY`: The secret key for the RustFS S3-compatible API.-- `MINIO_BUCKET`: The name of the default bucket created for Alexandrie. Note that this bucket name should match the `CDN_ENDPOINT` variable in the backend configuration. By default, it is set to `alexandrie` and the backend will create `alexandrie` and `alexandrie-backups` buckets.--### 6. Email β SMTP (optional)--```env-SMTP_HOST=-SMTP_MAIL=-SMTP_PASSWORD=-SMTP_MAIL_FROM= # Optional-```--Used only for password reset emails. Leave empty to disable email features (default).--- `SMTP_HOST`: The SMTP server host.-- `SMTP_MAIL`: The email address used to send emails.-- `SMTP_PASSWORD`: The password for the SMTP email account.-- `SMTP_MAIL_FROM` The email adress used to send messages (optional, default same as `SMTP_MAIL`)--### 7. Frontend β Nuxt--```env-FRONTEND_EXTERNAL_PORT=8200-```--The port exposed on the host for the frontend container.--In production, this is usually only accessed by a reverse proxy.--## Production Deployment Notes--In production, you should:--- NOT expose MySQL or RustFS directly-- Use a reverse proxy (Nginx, Traefik, Caddy)-- Terminate HTTPS at the proxy--## Additional Configuration & Advanced Setup--### Custom configuations - config.toml--For advanced configuration options for backend you can create your own `config.toml` file with the same structure as the default one (in `backend/config.toml`) and add the following environment variable to your `.env` file:--```env-CONFIG_PATH=./config.toml # Path to your custom config.toml file-```--This allows you to customize advanced settings not covered by environment variables (such as default values, logging levels, supported files etc).--### OIDC Integration--Open ID Connect (OIDC) is supported since version 8.5.0. You can setup up to 10 providers using environment variables to the backend.--First you have to generate client ID and client secret from your provider (refer to their doc or ask questions in discussions / discord)--Then you have to configure the redirect URI (in the provider interface with this value): `https://your-alexandrie-frontend/login/oidc/callback`--To config a provider you have to fill 4 variables:--```env-OIDC_{i}_CONFIG_URL=https://yourdomain.com/.well-known/openid-configuration-OIDC_{i}_CLIENT_ID=-OIDC_{i}_CLIENT_SECRET=-OIDC_{i}_PROVIDER_NAME= # e.g. Google, Discord, Microsoft...-```--_Replace `{i}` with a number between 1 to 10_--To setup these variables to your configuration you have to edit the `docker-compose.yml` and add variables to the backend config (direct values or a reference to your env file) like this for example:--```yml-OIDC_1_CONFIG_URL: ${OIDC_1_CONFIG_URL}-OIDC_1_CLIENT_ID: ${OIDC_1_CLIENT_ID}-OIDC_1_CLIENT_SECRET: ${OIDC_1_CLIENT_SECRET}-OIDC_1_PROVIDER_NAME: ${OIDC_1_PROVIDER_NAME}-```--### S3 / Minio β TLS, HTTPS and Custom Certificate Authorities--Alexandrie connects to the S3-compatible storage (RustFS / MinIO...) using an internal backend client.-This client supports HTTPS, custom certificate authorities (CA), and explicit TLS configuration.--This section explains how TLS is handled and how to configure it correctly.--#### HTTPS vs HTTP (MINIO_SECURE)--```env-MINIO_SECURE=true|false-```--This variable controls whether HTTPS (TLS) is used at all when the backend connects to the S3 endpoint. It must explicitly match how your S3 server is exposed.--- `true` β HTTPS is used (default)-- `false` β HTTP is used (no TLS)--#### Custom Certificate Authorities (MINIO_CA_PATH)--If your S3 endpoint uses a certificate signed by an internal or private certificate authority, you must explicitly provide this CA to the backend.--```env-MINIO_CA_PATH=/path/to/ca-certificate.pem-```--- The file must contain the CA certificate (root or intermediate), in PEM format-- This CA will be added to the system trust store used by the S3 client-- This is the recommended and secure way to handle internal PKI--> [!NOTE]-> if you are using docker containers, you must mount this file into the backend container using a volume in `docker-compose.yml`.--_TLS Verification Bypass (Not Recommended)_--```env-MINIO_INSECURE_TLS=true|false-```--This option disables TLS certificate verification while still using HTTPS.--- The connection remains encrypted-- Certificate validation (CA + hostname) is skipped--> [!WARNING]-> This option should only be used for:->-> - temporary debugging-> - local testing environments-> - It is not recommended for production use.diff --git a/docs-old/env.md b/docs-old/env.mddeleted file mode 100644index 381a4424..00000000--- a/docs-old/env.md+++ /dev/null@@ -1,123 +0,0 @@-# Alexandrie β Environment Variables Reference--This document provides a **concise reference of all supported environment variables** in Alexandrie.--Only variables documented here and in `.env.example` are officially supported.-------## Public URLs & Global Access--| Variable | Accepted Values | Description |-| -------------- | -------------------------- | --------------------------------------------------------------------------------------- |-| `FRONTEND_URL` | URL | Public URL of the frontend application (used by clients/browsers). |-| `API_URL` | URL | Public URL of the backend API. |-| `CDN_URL` | URL (no path/query) | Public base URL of the S3-compatible storage (RustFS / CDN). |-| `CDN_ENDPOINT` | Path (e.g. `/alexandrie/`) | Path prefix used to expose objects. Combined as `<CDN_URL><CDN_ENDPOINT><object-path>`. |-------## Application Feature Flags--| Variable | Accepted Values | Default | Description |-| ----------------------------- | ---------------- | ------- | ------------------------------------------------------- |-| `CONFIG_DISABLE_LANDING` | `true` / `false` | `false` | Disables the landing page and redirects users to login. |-| `CONFIG_DISABLE_SIGNUP` | `true` / `false` | `false` | Disables new user registrations (frontend + backend). |-| `CONFIG_DISABLE_NATIVE_LOGIN` | `true` / `false` | `false` | Disables the native username/password login. |-------## Backend API β Runtime & Security--| Variable | Accepted Values | Description |-| ----------------------- | -------------------- | ----------------------------------------------------------------------------------------------------------- |-| `BACKEND_EXTERNAL_PORT` | Port number | Port exposed on the host for the backend API. |-| `COOKIE_DOMAIN` | Domain (no protocol) | Domain scope for authentication cookies. Must match the highest common domain between frontend and backend. |-| `ALLOW_UNSECURE` | `true` / `false` | Allows HTTP connections (recommended `false` in production). |-| `JWT_SECRET` | String | Secret key used to sign JWT tokens. Changing it invalidates all sessions. |-| `ADMIN_ACCOUNTS` | Comma-separated IDs | List of user IDs with admin privileges. |-------## Database β MySQL--| Variable | Accepted Values | Description |-| --------------------- | --------------- | ----------------------------------- |-| `MYSQL_EXTERNAL_PORT` | Port number | Port exposed on the host for MySQL. |-| `MYSQL_DATABASE` | String | Name of the default database. |-| `MYSQL_USER` | String | Database user for Alexandrie. |-| `MYSQL_PASSWORD` | String | Password for the database user. |-| `MYSQL_ROOT_PASSWORD` | String | MySQL root password. |-------## Object Storage β RustFS / S3--### RustFS Service Configuration--| Variable | Accepted Values | Description |-| ---------------------- | --------------- | ---------------------------------------------------------------------------------- |-| `RUSTFS_EXTERNAL_PORT` | Port number | Port exposed on the host for RustFS. |-| `RUSTFS_ACCESS_KEY` | String | Access key for the S3-compatible API. |-| `RUSTFS_SECRET_KEY` | String | Secret key for the S3-compatible API. |-| `MINIO_BUCKET` | String | Main bucket name. Backend automatically creates `<bucket>` and `<bucket>-backups`. |-------### S3 / MinIO β TLS & HTTPS--| Variable | Accepted Values | Default | Description |-| -------------------- | ---------------- | ------- | -------------------------------------------------------------------------------------------------------------- |-| `MINIO_SECURE` | `true` / `false` | `true` | Enables HTTPS (TLS) when connecting to the S3 endpoint. Must match how the server is exposed. |-| `MINIO_CA_PATH` | File path | β | Path to a custom CA certificate (PEM) for internal or private PKI. Must be mounted into the backend container. |-| `MINIO_INSECURE_TLS` | `true` / `false` | `false` | Disables TLS certificate verification while keeping HTTPS enabled (not recommended for production). |-------## Email β SMTP (optional)--| Variable | Accepted Values | Description |-| ---------------- | --------------- | ------------------------------ |-| `SMTP_HOST` | Hostname | SMTP server host. |-| `SMTP_MAIL` | Email address | Sender email address. |-| `SMTP_MAIL_FROM` | Email address | From email address. |-| `SMTP_PASSWORD` | String | Password for the SMTP account. |-------## Frontend β Nuxt--| Variable | Accepted Values | Description |-| ------------------------ | --------------- | ---------------------------------------------------- |-| `FRONTEND_EXTERNAL_PORT` | Port number | Port exposed on the host for the frontend container. |-------## Advanced Backend Configuration--| Variable | Accepted Values | Description |-| ------------- | --------------- | ---------------------------------------------------------------- |-| `CONFIG_PATH` | File path | Path to a custom `config.toml` file overriding backend defaults. |-------## OIDC Integration--Up to **10 OpenID Connect providers** can be configured.--| Variable | Accepted Values | Description |-| ------------------------ | --------------- | ------------------------------------------------------------------- |-| `OIDC_{i}_CONFIG_URL` | URL | OpenID configuration endpoint (`.well-known/openid-configuration`). |-| `OIDC_{i}_CLIENT_ID` | String | Client ID issued by the provider. |-| `OIDC_{i}_CLIENT_SECRET` | String | Client secret issued by the provider. |-| `OIDC_{i}_PROVIDER_NAME` | String | Display name of the provider (e.g. Google, GitHub, Microsoft). |--Replace `{i}` with a number between **1 and 10**.-------## Notes--- Variables related to TLS trust **must be configured inside the backend container**, not only on the host.-- `MINIO_INSECURE_TLS` should only be used for temporary debugging.-- `MINIO_SECURE=false` is required for local RustFS deployments without TLS (e.g. `localhost`).