mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 21:31:10 +10:00
feat: standalone collab server (#767)
* feat: standalone collab server * * custom collab server port env * fix collab start script command * * API prefix * Log startup PORT * Tweak collab debounce
This commit is contained in:
@ -145,4 +145,15 @@ export class EnvironmentService {
|
||||
isSelfHosted(): boolean {
|
||||
return !this.isCloud();
|
||||
}
|
||||
|
||||
getCollabUrl(): string {
|
||||
return this.configService.get<string>('COLLAB_URL');
|
||||
}
|
||||
|
||||
isCollabDisableRedis(): boolean {
|
||||
const isStandalone = this.configService
|
||||
.get<string>('COLLAB_DISABLE_REDIS', 'false')
|
||||
.toLowerCase();
|
||||
return isStandalone === 'true';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user