- Create VPC with public subnets for outbound internet access - Create ECR repository for container images - Create IAM roles (Task Role with DynamoDB/S3 access, Execution Role) - Create ECS Task Definition (Fargate, 2048 MB memory, 256 CPU) - Create ECS Service (1 desired count) - Create CloudWatch Log Group - Add Security Group (outbound only for Discord bot) - Update Dockerfile with .buildstamp to prevent runtime rebuild - Add .env.example with Discord webhook and channel configurations - Update .gitignore to exclude Terraform state files Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
763 B
Plaintext
19 lines
763 B
Plaintext
# Copy to .env and fill with your Twilio credentials
|
|
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
TWILIO_AUTH_TOKEN=your_auth_token_here
|
|
# Must be a WhatsApp-enabled Twilio number, prefixed with whatsapp:
|
|
TWILIO_WHATSAPP_FROM=whatsapp:+17343367101
|
|
|
|
# Discord Webhook (for simple notifications)
|
|
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/xxx/yyy
|
|
|
|
# Discord Notification Channel (for clawdbot connection)
|
|
# Default: #status channel (PPAL Server)
|
|
# Use Discord channel ID (e.g., "1465087451113722019")
|
|
DISCORD_NOTIFY_CHANNEL=1465087451113722019
|
|
|
|
# Discord Second Brain Channel (for memory/knowledge storage)
|
|
# Default: #general channel (PPAL Server)
|
|
# Use Discord channel ID (e.g., "1465087447225598207")
|
|
DISCORD_BRAIN_CHANNEL=1465087447225598207
|