fix: retire dotenv override:true, exclut .env de l'image (cause racine ECONNREFUSED Baserow)

This commit is contained in:
2026-08-21 21:43:47 +01:00
parent 018bbb2449
commit ff4effa663
4 changed files with 14 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
.env
.env.*
.git
.gitignore
node_modules
npm-debug.log
.DS_Store
Thumbs.db
Fichiers-cibles
*.zip
*.log
+1 -1
View File
@@ -1,6 +1,6 @@
JWT_SECRET=your_jwt_secret_here JWT_SECRET=your_jwt_secret_here
BASEROW_API_URL=https://baserow.bolbol.tn/api/ BASEROW_API_URL=http://baserow.bolbol.tn/api/
BASEROW_TOKEN=your_baserow_token BASEROW_TOKEN=your_baserow_token
BASEROW_TABLE_MARCHES=856 BASEROW_TABLE_MARCHES=856
BASEROW_TABLE_PIPELINE=872 BASEROW_TABLE_PIPELINE=872
+1 -1
View File
@@ -78,7 +78,7 @@ Tous les endpoints données acceptent :
| Variable | Requis | Description | | Variable | Requis | Description |
|----------|--------|-------------| |----------|--------|-------------|
| `JWT_SECRET` | ✓ | Clé secrète JWT | | `JWT_SECRET` | ✓ | Clé secrète JWT |
| `BASEROW_API_URL` | ✓ | URL Baserow (`https://baserow.bolbol.tn/api/`) | | `BASEROW_API_URL` | ✓ | URL Baserow (`http://baserow.bolbol.tn/api/`) |
| `BASEROW_TOKEN` | ✓ | Token d'accès Baserow | | `BASEROW_TOKEN` | ✓ | Token d'accès Baserow |
| `BASEROW_TABLE_MARCHES` | ✓ | ID table marchés (ex: 856) | | `BASEROW_TABLE_MARCHES` | ✓ | ID table marchés (ex: 856) |
| `BASEROW_TABLE_PIPELINE` | ✓ | ID table pipeline (ex: 872) | | `BASEROW_TABLE_PIPELINE` | ✓ | ID table pipeline (ex: 872) |
+1 -1
View File
@@ -1,4 +1,4 @@
require('dotenv').config({ override: true }); require('dotenv').config();
const express = require('express'); const express = require('express');
const cors = require('cors'); const cors = require('cors');