Remove Nixpacks configuration files for backend and frontend; update Coolify deployment guide to reflect changes in directory structure and configuration requirements.
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ Coolify's built-in reverse proxy routes traffic:
|
||||
3. Select the `ai.allucanget.biz` repository
|
||||
4. Choose the `main` branch
|
||||
5. Set **Build Pack** to `nixpacks`
|
||||
6. Set **Base Directory** to `/backend`
|
||||
6. **CRITICAL: Set Base Directory to `/backend`** — this tells Nixpacks to look in the `backend/` subdirectory for `requirements.txt` and the Python application
|
||||
7. Set **Ports Exposed** to `8000`
|
||||
8. Set **Start Command** to:
|
||||
```txt
|
||||
@@ -37,6 +37,8 @@ Coolify's built-in reverse proxy routes traffic:
|
||||
```
|
||||
9. Click **Create Resource**
|
||||
|
||||
> **Note:** Nixpacks auto-detects Python from `requirements.txt`. No `nixpacks.toml` file is needed. The Base Directory setting is the key configuration — without it, Nixpacks looks at the repository root and won't find the Python project.
|
||||
|
||||
### Backend Environment Variables
|
||||
|
||||
Add these as **Runtime** environment variables in Coolify:
|
||||
@@ -55,7 +57,7 @@ Add these as **Runtime** environment variables in Coolify:
|
||||
2. Select the same repository
|
||||
3. Choose the `main` branch
|
||||
4. Set **Build Pack** to `nixpacks`
|
||||
5. Set **Base Directory** to `/frontend`
|
||||
5. **CRITICAL: Set Base Directory to `/frontend`** — this tells Nixpacks to look in the `frontend/` subdirectory for `requirements.txt` and the Python application
|
||||
6. Set **Ports Exposed** to `5000`
|
||||
7. Set **Start Command** to:
|
||||
```txt
|
||||
@@ -63,6 +65,8 @@ Add these as **Runtime** environment variables in Coolify:
|
||||
```
|
||||
8. Click **Create Resource**
|
||||
|
||||
> **Note:** Nixpacks auto-detects Python from `requirements.txt`. No `nixpacks.toml` file is needed. The Base Directory setting is the key configuration — without it, Nixpacks looks at the repository root and won't find the Python project.
|
||||
|
||||
### Frontend Environment Variables
|
||||
|
||||
Add these as **Runtime** environment variables in Coolify:
|
||||
|
||||
Reference in New Issue
Block a user