Autopilot/.env.example

24 lines
1.4 KiB
Plaintext

# AutoPilot - Production Environment Variables
# Copy this file to .env and fill in the real values before deploying
# ─── Database (PostgreSQL) ───────────────────────────────────────────────────
DB_URL=jdbc:postgresql://postgres:5432/localagent_cloud
DB_USER=localagent
DB_PASS=changeme_strong_password_here
# ─── Security ────────────────────────────────────────────────────────────────
# Must be at least 256 bits (32+ characters). Generate one with:
# openssl rand -base64 64
JWT_SECRET=replace_this_with_a_very_long_random_secret_string_minimum_256_bits
# ─── AWS S3 (for screenshot storage) ─────────────────────────────────────────
AWS_REGION=ap-south-1
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
S3_BUCKET_NAME=autopilot-screenshots
# ─── Worker (AutoPilot Engine) ───────────────────────────────────────────────
# URL where the master backend is reachable from the worker container
LOCALAGENT_CLOUD_URL=http://master:9090
LOCALAGENT_POLLING_ENABLED=true