Skip to content

Commit bd67a25

Browse files
authored
Update production.yaml
1 parent 992e555 commit bd67a25

File tree

1 file changed

+37
-10
lines changed

1 file changed

+37
-10
lines changed

config/production.yaml

Lines changed: 37 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
1-
# production.yaml
1+
# Configuration for the Stable Pi Core production environment
2+
23
logging:
3-
level: INFO
4+
level: INFO # Set the logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
45

56
database:
6-
host: production-db-host
7-
port: 5432
8-
user: prod_user
9-
password: prod_password
10-
db_name: stable_pi_prod
7+
host: production-db-host # Database host (replace with actual production host)
8+
port: 5432 # Database port
9+
user: prod_user # Database username
10+
password: prod_password # Database password (consider using environment variables for security)
11+
db_name: stable_pi_prod # Database name
1112

1213
model_paths:
13-
demand_model_path: "models/demand_prediction_model.pkl"
14-
asset_model_path: "models/asset_management_model.pkl"
14+
demand_model_path: "models/demand_prediction_model.pkl" # Path to the demand prediction model
15+
asset_model_path: "models/asset_management_model.pkl" # Path to the asset management model
1516

1617
api:
17-
base_url: "https://api.stablepi.com"
18+
base_url: "https://api.stablepi.com" # Base URL for the API
19+
20+
# Additional configurations
21+
security:
22+
secret_key: "your_production_secret_key" # Secret key for session management (consider using environment variables)
23+
token_expiration: 3600 # Token expiration time in seconds
24+
25+
# Feature flags for production
26+
features:
27+
enable_feature_x: true # Enable or disable specific features
28+
enable_feature_y: false
29+
30+
# Email configuration for production
31+
email:
32+
smtp_server: "smtp.production-email.com" # SMTP server for sending emails
33+
smtp_port: 587 # SMTP port
34+
smtp_user: "your_email@production.com" # Email username
35+
smtp_password: "your_email_password" # Email password (consider using environment variables)
36+
37+
# External service configurations for production
38+
external_services:
39+
service_a:
40+
api_key: "your_production_service_a_api_key" # API key for external service A
41+
endpoint: "https://api.service-a.com" # Endpoint for external service A
42+
service_b:
43+
api_key: "your_production_service_b_api_key" # API key for external service B
44+
endpoint: "https://api.service-b.com" # Endpoint for external service B

0 commit comments

Comments
 (0)