@or3/cloud 0.1.36 → 0.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/assets/compose.yaml +4 -0
- package/dist/cli.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,8 @@ npx @or3/cloud init --public --domain cloud.example.com
|
|
|
32
32
|
|
|
33
33
|
OR3 Cloud uses Caddy to obtain and renew HTTPS certificates. It does not
|
|
34
34
|
change your DNS, firewall, Cloudflare, or Tailscale settings.
|
|
35
|
+
The managed public profile forwards its proxy-trust setting into Nuxt runtime
|
|
36
|
+
configuration so HTTPS API requests are not redirected back to themselves.
|
|
35
37
|
|
|
36
38
|
## Day-to-day commands
|
|
37
39
|
|
package/assets/compose.yaml
CHANGED
|
@@ -8,6 +8,10 @@ services:
|
|
|
8
8
|
environment:
|
|
9
9
|
HOST: 0.0.0.0
|
|
10
10
|
PORT: 3000
|
|
11
|
+
# Nuxt only applies nested runtime-config overrides from NUXT_* names.
|
|
12
|
+
# Bridge the managed OR3 setting so Caddy's sanitized forwarding headers
|
|
13
|
+
# are trusted and HTTPS enforcement cannot redirect back to itself.
|
|
14
|
+
NUXT_SECURITY_PROXY_TRUST_PROXY: "${OR3_TRUST_PROXY:-false}"
|
|
11
15
|
OR3_BASIC_AUTH_DB_PATH: /data/auth.sqlite
|
|
12
16
|
OR3_SQLITE_DB_PATH: /data/sync.sqlite
|
|
13
17
|
OR3_STORAGE_FS_ROOT: /data/storage
|
package/dist/cli.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import { dirname, basename, isAbsolute, join, resolve, sep } from "node:path";
|
|
|
27
27
|
import { fileURLToPath } from "node:url";
|
|
28
28
|
import { createGunzip } from "node:zlib";
|
|
29
29
|
var execFile = promisify(execFileCallback);
|
|
30
|
-
var PACKAGE_VERSION = "0.1.
|
|
30
|
+
var PACKAGE_VERSION = "0.1.37";
|
|
31
31
|
var IMAGE_REPOSITORY = "ghcr.io/saluana/or3-chat";
|
|
32
32
|
var ASSET_ROOT = resolve(fileURLToPath(new URL("../assets/", import.meta.url)));
|
|
33
33
|
var STATE_SCHEMA_VERSION = 1;
|