Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
chore(server): default NODE_ENV to production in the image
Gökhan Geyik6f900cf55ae5
diff --git a/server/.env.example b/server/.env.exampleindex 4fb305d39..0b5d65c19 100644--- a/server/.env.example+++ b/server/.env.example@@ -1,9 +1,11 @@-NODE_ENV=development+# development for local work; use production on deployed servers (quieter+# info-level logs + socket origin check enforced).+NODE_ENV=productionPORT=80# Logging# Set log level: debug, info, warn, error. Defaults to debug in development, info in production.-LOG_LEVEL=debug+# LOG_LEVEL=debug# SupabaseSUPABASE_URL=diff --git a/server/Dockerfile b/server/Dockerfileindex 09d8adef7..eaf561bf9 100644--- a/server/Dockerfile+++ b/server/Dockerfile@@ -14,6 +14,11 @@ RUN npm install && npm install -g pm2COPY . .+# Production default — keeps prod log level at info and enables the socket+# origin check. Note: an env_file that sets NODE_ENV overrides this, so+# deployment .env files must not pin NODE_ENV=development.+ENV NODE_ENV=production+EXPOSE 80CMD ["pm2-runtime", "start", "src/server.js"]