Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix: align default CDN_URL with RustFS port 9000 (#794)

BOULMIS Abdennourb2463e4d544f
diff --git a/.env.example b/.env.example
index 639f4501..c34d02ab 100644
--- a/.env.example
+++ b/.env.example
@@ -18,7 +18,7 @@
# If using a Reverse Proxy (Nginx/Traefik), use your public domain names here.
FRONTEND_URL=http://localhost:8200
API_URL=http://localhost:8201
-CDN_URL=http://localhost:9005
+CDN_URL=http://localhost:9000
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)
diff --git a/docs/README.md b/docs/README.md
index b76b27d6..a36d49c9 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -54,7 +54,7 @@ Only the variables defined in `.env.example` are officially supported.
```env
FRONTEND_URL=http://localhost:8200
API_URL=http://localhost:8201
-CDN_URL=http://localhost:9005
+CDN_URL=http://localhost:9000
CDN_ENDPOINT=/alexandrie/
```
@@ -131,7 +131,7 @@ These variables configure the MySQL database service.
### 5. Object Storage β€” S3 (RustFS / MinIO-compatible) (optional, leave empty to disable)
```env
-RUSTFS_EXTERNAL_PORT=9005
+RUSTFS_EXTERNAL_PORT=9000
RUSTFS_ACCESS_KEY=alexandrie-key
RUSTFS_SECRET_KEY=alexandrie-secret
diff --git a/docs/content/6.deploy/2.configuration.md b/docs/content/6.deploy/2.configuration.md
index 8be8707e..9c43e233 100644
--- a/docs/content/6.deploy/2.configuration.md
+++ b/docs/content/6.deploy/2.configuration.md
@@ -16,7 +16,7 @@ The following sections describe the main environment variables used by Alexandri
```env
FRONTEND_URL=http://localhost:8200
API_URL=http://localhost:8201
-CDN_URL=http://localhost:9005
+CDN_URL=http://localhost:9000
CDN_ENDPOINT=/alexandrie/
```
@@ -93,7 +93,7 @@ These variables configure the MySQL database service.
### 5. Object Storage β€” S3 (RustFS / MinIO-compatible) (optional, leave empty to disable)
```env
-RUSTFS_EXTERNAL_PORT=9005
+RUSTFS_EXTERNAL_PORT=9000
RUSTFS_ACCESS_KEY=alexandrie-key
RUSTFS_SECRET_KEY=alexandrie-secret
diff --git a/docs/content/6.deploy/4.vps.md b/docs/content/6.deploy/4.vps.md
index 7a29d160..46ac8f57 100644
--- a/docs/content/6.deploy/4.vps.md
+++ b/docs/content/6.deploy/4.vps.md
@@ -68,7 +68,7 @@ api.example.com {
}
cdn.example.com {
- reverse_proxy localhost:9005
+ reverse_proxy localhost:9000
}
```
diff --git a/docs/content/6.deploy/6.configurations-list.md b/docs/content/6.deploy/6.configurations-list.md
index fad3736c..72eaba7b 100644
--- a/docs/content/6.deploy/6.configurations-list.md
+++ b/docs/content/6.deploy/6.configurations-list.md
@@ -110,7 +110,7 @@ The application should use the normal Alexandrie database user rather than the M
Example:
```env
-RUSTFS_EXTERNAL_PORT=9005
+RUSTFS_EXTERNAL_PORT=9000
RUSTFS_ACCESS_KEY=<access-key>
RUSTFS_SECRET_KEY=<secret-key>
MINIO_BUCKET=alexandrie
diff --git a/frontend/app/pages/reference/documentation.vue b/frontend/app/pages/reference/documentation.vue
index 59a6cd80..d4a99442 100644
--- a/frontend/app/pages/reference/documentation.vue
+++ b/frontend/app/pages/reference/documentation.vue
@@ -72,7 +72,7 @@
<div class="code-block-wrapper">
<pre><code class="hljs language-env">FRONTEND_URL=http://localhost:8200
API_URL=http://localhost:8201
-CDN_URL=http://localhost:9005
+CDN_URL=http://localhost:9000
CDN_ENDPOINT=/alexandrie/
</code></pre>
@@ -172,7 +172,7 @@ MYSQL_ROOT_PASSWORD=rootpassword
</h3>
<div class="code-block-wrapper">
- <pre><code class="hljs language-env">RUSTFS_EXTERNAL_PORT=9005
+ <pre><code class="hljs language-env">RUSTFS_EXTERNAL_PORT=9000
RUSTFS_ACCESS_KEY=alexandrie-key
RUSTFS_SECRET_KEY=alexandrie-secret