Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
74 lines (63 loc) · 2.51 KB
/
Copy path.env.example
File metadata and controls
74 lines (63 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# ___ _ ____ _
# | _ \ ___ _ _ _ __ __| |/ ___|__ _| | _____
# | |_) / _ \| | | | '_ \ / _` | | / _` | |/ / _ \
# | __/ (_) | |_| | | | | (_| | |__| (_| | < __/
# |_| \___/ \__,_|_| |_|\__,_|\____\__,_|_|\_\___|
# PoundCake Environment Configuration
# =============================================================================
# Copy this file to .env and update values as needed
# Defaults are provided for development environments
# Database Configuration
DB_ROOT_PASSWORD=rootpassword
DB_NAME=poundcake
DB_USER=poundcake
DB_PASSWORD=poundcake
# StackStorm Backend Passwords
# These are used by MongoDB and RabbitMQ for StackStorm
MONGO_PASSWORD=password
RABBITMQ_PASSWORD=password
# StackStorm Authentication
# Default credentials for st2admin user (matches htpasswd in docker/st2-config/htpasswd)
# Used by automated-setup.sh to authenticate and generate API keys
ST2_AUTH_USER=st2admin
ST2_AUTH_PASSWORD=Ch@ngeMe
# StackStorm API Key
# This is auto-generated by the stackstorm-bootstrap service on first run
# Leave empty - no manual setup required!
ST2_API_KEY=
# StackStorm Startup Configuration
# Maximum attempts to wait for StackStorm API to become ready during startup
# Each attempt waits POUNDCAKE_STACKSTORM_STARTUP_DELAY_SECONDS before retrying
POUNDCAKE_STACKSTORM_STARTUP_MAX_ATTEMPTS=120
POUNDCAKE_STACKSTORM_STARTUP_DELAY_SECONDS=2.0
# PoundCake API Authentication
# Set dev admin credentials (required when auth is enabled)
POUNDCAKE_AUTH_DEV_USERNAME=admin
POUNDCAKE_AUTH_DEV_PASSWORD=change-me
# Shared internal service API key used by kitchen workers (required in auth-enabled deployments)
POUNDCAKE_INTERNAL_API_KEY=change-this-internal-key
# Service Polling Intervals (seconds)
CHEF_INTERVAL=5
PREP_INTERVAL=5
TIMER_INTERVAL=10
PREP_CHEF_LIMIT=1
TIMER_LIMIT=1
POUNDCAKE_POLLER_HTTP_RETRIES=0
POUNDCAKE_CHEF_PATCH_RETRIES=3
POUNDCAKE_CHEF_PATCH_RETRY_BACKOFF_SECONDS=1.0
POUNDCAKE_CHEF_MISSING_EXECUTION_TIMEOUT_SECONDS=60
# External HTTP retries (StackStorm, Prometheus, Git providers, etc.)
POUNDCAKE_EXTERNAL_HTTP_RETRIES=2
# SLA & Timeout Configuration
# Buffer multiplier for expected_time_to_completion before triggering SLA alerts
# e.g., 0.2 means allow 20% over expected_time before marking as "Late"
SLA_BUFFER_PERCENT=0.2
# Dishwasher
DISHWASHER_STRICT_RECIPE_SYNC=false
DISHWASHER_INTERVAL=300
DISHWASHER_BOOTSTRAP_ATTEMPTS=10
DISHWASHER_BOOTSTRAP_RETRY_DELAY=5
POUNDCAKE_SCHEDULED_TASK_RESULTS_RETENTION_DAYS=30
# Application Metadata
APP_VERSION=1.0.0
POUNDCAKE_LOG_FORMAT=json