mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
section 16: Phase 16: Documentation, container ports and full repository checks
This commit is contained in:
1 parent
81a9f0c8ef
commit
a383e57bc5
55 files changed
+4095
-59
No files matched your search
@@ -18,6 +18,10 @@ export const DEFAULTS = {
|
||||
HEALTH_FAILURE_THRESHOLD: 2,
|
||||
},
|
||||
|
||||
PREVIEW: {
|
||||
PORT: 5004,
|
||||
},
|
||||
|
||||
DATABASE: {
|
||||
PATH: './data/opencode.db',
|
||||
},
|
||||
|
||||
@@ -74,6 +74,11 @@ export const ENV = {
|
||||
LEGACY_PUBLIC_URL: getEnvString('OPENCODE_PUBLIC_URL', ''),
|
||||
},
|
||||
|
||||
PREVIEW: {
|
||||
PORT: getEnvNumber('PREVIEW_PORT', DEFAULTS.PREVIEW.PORT),
|
||||
PUBLIC_URL: getEnvString('PREVIEW_PUBLIC_URL', ''),
|
||||
},
|
||||
|
||||
DATABASE: {
|
||||
PATH: getEnvString('DATABASE_PATH', DEFAULTS.DATABASE.PATH),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user