mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-10-18 11:02:54 +00:00
refactor: Add environment variable support to API server configuration and fix build path
- Add getEnv and getEnvInt helper functions for reading environment variables with defaults - Update all configuration fields to use environment variables (DB_HOST, REDIS_HOST, API_PORT, etc.) - Change CI build command from ./cmd/server.go to ./cmd/ directory path
This commit is contained in:
@@ -65,7 +65,7 @@ jobs:
|
||||
|
||||
- name: Build API server
|
||||
working-directory: apps/api-server
|
||||
run: go build -o bin/api-server ./cmd/server.go
|
||||
run: go build -o bin/api-server ./cmd/
|
||||
|
||||
web-dashboard-test:
|
||||
name: Web Dashboard Tests
|
||||
|
||||
Reference in New Issue
Block a user