mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 03:30:06 +00:00
enhance: migrate trigger server updates (#1412)
This commit is contained in:
parent
9331df9304
commit
a955ff3fe1
9 changed files with 962 additions and 309 deletions
|
|
@ -28,7 +28,14 @@ Note: All the above data is stored in the local PostgreSQL volume in Docker (see
|
|||
|
||||
- **Docker Desktop**: Installed and running
|
||||
- **Python**: 3.10.\* (3.10.15 recommended)
|
||||
- **Node.js**: >=18.0.0 \<23.0.0
|
||||
- **Node.js**: >=18.0.0 <23.0.0
|
||||
|
||||
#### Hosting Configuration for Triggers
|
||||
|
||||
**Important**: If you plan to use **app triggers** (incoming webhooks), you must host this server with a **publicly accessible domain**. App triggers require external services to reach your server via HTTPS callback URLs.
|
||||
|
||||
- For local development, you can use tools like `ngrok` to expose your local server
|
||||
- For production, deploy with a proper domain and SSL certificate
|
||||
|
||||
#### Setup Steps
|
||||
|
||||
|
|
@ -38,9 +45,15 @@ Note: All the above data is stored in the local PostgreSQL volume in Docker (see
|
|||
cd server
|
||||
# Copy .env.example to .env(or create .env according to .env.example)
|
||||
cp .env.example .env
|
||||
docker compose up -d
|
||||
# Environment variables from .env are automatically passed to Docker images
|
||||
docker-compose up --build -d
|
||||
```
|
||||
|
||||
**Notes:**
|
||||
|
||||
- Database migrations are automatically run by Alembic on container startup
|
||||
- All environment variables defined in `.env` are passed to the Docker images
|
||||
|
||||
2. Start Frontend (Local Mode)
|
||||
|
||||
- In the project root directory, create or modify `.env.development` to enable local mode and point to the local backend:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue