44 lines
940 B
TOML
44 lines
940 B
TOML
|
|
# Development Configuration for Rustelo Implementation
|
||
|
|
# This file overrides production settings for development
|
||
|
|
|
||
|
|
[app]
|
||
|
|
name = "jpl-website"
|
||
|
|
version = "0.1.0"
|
||
|
|
environment = "development"
|
||
|
|
debug = true
|
||
|
|
|
||
|
|
[server]
|
||
|
|
host = "127.0.0.1"
|
||
|
|
port = 3030
|
||
|
|
workers = 1
|
||
|
|
auto_reload = true
|
||
|
|
|
||
|
|
[database]
|
||
|
|
# Development database - defaults to SQLite
|
||
|
|
url = "sqlite:data/dev_database.db"
|
||
|
|
max_connections = 5
|
||
|
|
min_connections = 1
|
||
|
|
create_database = true
|
||
|
|
|
||
|
|
[features]
|
||
|
|
# Development feature flags
|
||
|
|
content_static = true
|
||
|
|
auth = false
|
||
|
|
email = false
|
||
|
|
metrics = true # Enable metrics in development
|
||
|
|
tls = false
|
||
|
|
|
||
|
|
[assets]
|
||
|
|
# Development asset configuration
|
||
|
|
static_dir = "public"
|
||
|
|
upload_dir = "uploads"
|
||
|
|
max_file_size = "50MB" # Larger limit for development
|
||
|
|
|
||
|
|
[security]
|
||
|
|
# Development security settings (use defaults)
|
||
|
|
secret_key = "dev-secret-key-change-in-production"
|
||
|
|
cors_origins = ["http://localhost:3030", "http://127.0.0.1:3030"]
|
||
|
|
|
||
|
|
[logging]
|
||
|
|
level = "debug"
|
||
|
|
format = "pretty"
|