# Copy to .env for your LOCAL synthetic test environment; never commit .env. # These are logical interface suggestions; map actual framework names in REPORT.md. APP_HOST=0.0.0.0 APP_PORT=8080 APP_ENV=lab SESSION_TTL_SECONDS=3600 # Choose credentials locally. File paths contain no secret values. DATABASE_URL_FILE=/run/secrets/database_url # Optional on 3, required use on 4 in lab2; Redis OR Valkey: SESSION_STORE=postgres CACHE_URL_FILE=/run/secrets/cache_url API_REPLICAS=2 IDEMPOTENCY_TTL_SECONDS=86400 # Solution-specific: published LB ports, replica limits, workers and pool per replica, # LB queue per replica, drain window before closing the listener on SIGTERM, PostgreSQL # limits, load generator limits (profile bench), CPU pinning for track 1 measurements (empty = not # pinned), cursor key file. API_PORT/SHORTTTL_PORT of lab2 are gone: # only the load balancer is published. LB_HTTP_PORT=8080 LB_STATS_PORT=8404 API_CPUS=1 API_MEMORY=512m WEB_CONCURRENCY=2 DB_POOL_MAX_SIZE=8 API_SERVER_MAXCONN=64 DRAIN_SECONDS=2 PG_MAX_CONNECTIONS=200 PG_CPUS=2 PG_MEMORY=1g K6_CPUS=2 K6_MEMORY=512m API_CPUSET= LB_CPUSET= PG_CPUSET= VALKEY_CPUSET= K6_CPUSET= CURSOR_SECRET_FILE=/run/secrets/cursor_secret