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:
parent
9a2e69921e
commit
1e5a035d33
7 changed files with 28 additions and 17 deletions
10
turbo.json
10
turbo.json
|
@ -2,7 +2,15 @@
|
|||
"$schema": "https://turbo.build/schema.json",
|
||||
"ui": "tui",
|
||||
"globalDependencies": [".env"],
|
||||
"globalEnv": ["NODE_ENV", "DATABASE_URL", "VITE_API_URL", "VITE_WS_URL"],
|
||||
"globalEnv": [
|
||||
"ALLOWED_ORIGINS",
|
||||
"API_HOST",
|
||||
"API_PORT",
|
||||
"DATABASE_URL",
|
||||
"NODE_ENV",
|
||||
"VITE_API_URL",
|
||||
"VITE_WS_URL"
|
||||
],
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue