chore: update environment configuration and deployment scripts

- Added production environment variables to docker-compose.yml
- Updated Dockerfile for API and web to use Turbo build commands
- Modified turbo.json to include new environment variables
- Updated API index.ts to use new environment configuration
- Updated README.md with correct API port
- Added start:api script to package.json
- Improved deployment and configuration management
This commit is contained in:
Juan Sebastián Montoya 2025-03-06 23:08:10 -05:00
parent 9a2e69921e
commit 1e5a035d33
7 changed files with 28 additions and 17 deletions

View file

@ -6,11 +6,12 @@ services:
container_name: unreal-chat-api
restart: unless-stopped
environment:
- NODE_ENV=production
- DATABASE_URL=${DATABASE_URL}
- JWT_SECRET=your-secret-key
- PORT=4000
ports:
- "4000:4000"
- API_PORT=4000
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- API_HOST=${API_HOST}
networks:
- default-network