Deployment Strategy: 4 environments + Docker setup

- Development: localhost (API:3002, UI:3003)
- Integration: AI model validation
- Pilot: pilot.landvex.com (Docker Compose)
- Production: app.landvex.com
- Intelligence Lab: lab.landvex.internal

Docker Compose:
- API (Node.js)
- UI (Nginx)
- PostgreSQL
- MinIO (object storage)

Next: Deploy pilot environment
This commit is contained in:
Bernt
2026-07-02 16:53:10 +00:00
parent 4edc1d89a7
commit 6c2b5ee340
6 changed files with 224 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# LandveX API Environment Variables
# Server
PORT=3002
NODE_ENV=development
# Database (PostgreSQL - for PR-003B)
# DATABASE_URL=postgresql://user:pass@localhost:5432/landvex
# Object Storage (S3/R2 - for PR-003B)
# STORAGE_ENDPOINT=
# STORAGE_BUCKET=
# STORAGE_ACCESS_KEY=
# STORAGE_SECRET_KEY=
# Authentication (for PR-004B)
# JWT_SECRET=
# AUTH_ISSUER=
# Monitoring
# LOG_LEVEL=info
+18
View File
@@ -0,0 +1,18 @@
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
RUN npm install --production
# Copy source
COPY . .
RUN npm run build
# Create uploads directory
RUN mkdir -p uploads
EXPOSE 3002
CMD ["node", "dist/index.js"]