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 deploy

Veauville Raphael5fd7a6989e4c
diff --git a/ecosystem.config.js b/ecosystem.config.js
index 2dbc58c0..0a9eed23 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -3,7 +3,7 @@ module.exports = {
{
name: "alexandrie-backend",
cwd: "./backend/dist",
- script: "node main.js",
+ script: "main.js",
interpreter: "~/.bun/bin/bun",
env: {
NODE_ENV: "production",
@@ -17,16 +17,17 @@ module.exports = {
name: "alexandrie-frontend",
cwd: "./frontend",
interpreter: "~/.bun/bin/bun",
- script: "PORT=8200 node .output/server/index.mjs",
+ script: ".output/server/index.mjs",
env: {
NODE_ENV: "production",
+ PORT: 8200,
},
},
{
name: "alexandrie-dashboard",
cwd: "./dashboard",
interpreter: "~/.bun/bin/bun",
- script: "PORT=8202 node .output/server/index.mjs",
+ script: ".output/server/index.mjs",
env: {
NODE_ENV: "production",
},