Initial commit: AutonetSellCar platform with deployment system
- Frontend: Next.js 14 with TypeScript - Backend: FastAPI with SQLAlchemy - Agent: Carmodoo sync agent - Deployment: Docker Compose based staging/production setup - Scripts: Automated deployment with rollback support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
44
docker-compose.staging.yml
Normal file
44
docker-compose.staging.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
frontend-staging:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: autonet-frontend-staging
|
||||
ports:
|
||||
- "3001:3000"
|
||||
environment:
|
||||
- NODE_ENV=staging
|
||||
- NEXT_PUBLIC_API_URL=http://192.168.0.202:8001
|
||||
depends_on:
|
||||
- backend-staging
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- autonet-staging
|
||||
|
||||
backend-staging:
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
container_name: autonet-backend-staging
|
||||
ports:
|
||||
- "8001:8000"
|
||||
environment:
|
||||
- ENV=staging
|
||||
- DATABASE_URL=sqlite:///./autonet_staging.db
|
||||
volumes:
|
||||
- ./backend/uploads:/app/uploads
|
||||
- backend-staging-data:/app/data
|
||||
- ./backend/.env:/app/.env:ro
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- autonet-staging
|
||||
|
||||
networks:
|
||||
autonet-staging:
|
||||
name: autonet-staging-network
|
||||
|
||||
volumes:
|
||||
backend-staging-data:
|
||||
name: autonet-backend-staging-data
|
||||
Reference in New Issue
Block a user