guidly/ecosystem.config.cjs
laruevin d5ed7fdcf9 Initial commit: Guidly project with CI/CD pipeline
Telegram Bot + Mini App for city walking quests.
- React 19 + TypeScript + Vite 6 frontend
- Express 5 + PostgreSQL backend
- grammY Telegram bot with DeepSeek AI
- GitLab CI/CD: lint, build, deploy to production

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:42:42 +07:00

31 lines
780 B
JavaScript

module.exports = {
apps: [
{
name: 'guidly-server',
script: 'dist-server/server/index.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '500M',
env: {
NODE_ENV: 'production',
PORT: 3000,
},
},
// Bot is integrated into the server process in webhook mode (production).
// This separate bot process is only needed for polling mode (development/fallback).
// Uncomment if you need to run bot separately:
// {
// name: 'guidly-bot',
// script: 'dist-bot/bot/index.js',
// instances: 1,
// autorestart: true,
// watch: false,
// max_memory_restart: '300M',
// env: {
// NODE_ENV: 'production',
// },
// },
],
}