π 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
Fix
Smaug67395a77069a6162
diff --git a/backend/server/server.go b/backend/server/server.goindex b1dd6c0c..fa0faf20 100644--- a/backend/server/server.go+++ b/backend/server/server.go@@ -21,7 +21,7 @@ func SetupServer() (*gin.Engine, *app.App) {fmt.Fprintln(os.Stderr, "Error getting cwd:", err)os.Exit(1)}- absPath := filepath.Join(workingDir, fmt.Sprintf("%sconfig.toml", os.Getenv("CPWD")))+ absPath := filepath.Join(workingDir, fmt.Sprintf("%sconfig.toml", os.Getenv("CONFIG_CPWD")))config := app.Config{}_, err = toml.DecodeFile(absPath, &config)if err != nil {diff --git a/ecosystem.config.js b/ecosystem.config.jsindex 068d6b7f..a74029e3 100644--- a/ecosystem.config.js+++ b/ecosystem.config.js@@ -2,18 +2,20 @@ module.exports = {apps: [{name: 'alexandrie-backend',- script: 'go run main.go',+ script: './backend_app',cwd: './backend',env: {PORT: 8201,DOMAIN_CLIENT: 'https://alexandrie-hub.fr',MINIO_ENDPOINT: 'localhost:9000',MINIO_BUCKET: 'alexandrie',+ CPWD: './backend/',+ CONFIG_CPWD: '',COOKIE_DOMAIN: 'alexandrie-hub.fr',GIN_MODE: 'release',},},- /*{+ {name: 'alexandrie-frontend',cwd: './frontend',script: 'bun .output/server/index.mjs',@@ -21,6 +23,6 @@ module.exports = {NODE_ENV: 'production',PORT: 8200,},- },*/+ },],};