Issue: Port 5000 often in use (AirPlay, other apps)
Solution: Changed default webhook port to 5555
Changes:
- .env: Added WEBHOOK_RECEIVER_PORT=5555
- config.yaml: Changed port to ${WEBHOOK_RECEIVER_PORT:-5555}
- Default is now 5555 instead of 5000
- Configurable via .env file
A2→A3 Webhook Server:
✅ Starts successfully on port 5555
✅ All connections OK (DAM, Box, Database)
✅ Background worker running
✅ Ready to receive Box webhooks
Access webhook at: http://server:5555/webhooks/box
🤖 Generated with Claude Code
47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
# Ferrero Automation Environment Variables
|
|
|
|
# Environment (staging or production)
|
|
ENV=staging
|
|
|
|
# DAM Credentials
|
|
DAM_BASE_URL=https://ppr.dam.ferrero.com/otmmapi
|
|
DAM_AUTH_URL=https://ppr.dam.ferrero.com/otdsws/oauth2/token
|
|
DAM_CLIENT_ID=otds-OLV
|
|
DAM_CLIENT_SECRET=hs28LZ9ZzQ5I9rlW3P7Wwyw85oOatlC1
|
|
|
|
# Box Credentials
|
|
BOX_CLIENT_ID=l2atwxxq4xna7phcjr2uifm4mbah69qp
|
|
BOX_CLIENT_SECRET=6XcuCQ6akpk9daE0UHaGSv3mSxWaER4l
|
|
BOX_JWT_KEY_ID=n1izyn3l
|
|
BOX_PASSPHRASE=971585f5fd6171428c14a7c8899af5ab
|
|
BOX_ENTERPRISE_ID=43984435
|
|
|
|
# Box Folder Configuration
|
|
BOX_ROOT_FOLDER_A1_A2=348304357505
|
|
BOX_ROOT_FOLDER_A2_A3=348526703108
|
|
|
|
# Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5433
|
|
DB_USER=ferrero_user
|
|
DB_PASSWORD=ferrero_pass_2025
|
|
|
|
# Mailgun / SMTP (for email notifications)
|
|
SMTP_SERVER=smtp.mailgun.org
|
|
SMTP_PORT=587
|
|
SMTP_USER=twist@mail.dev.oliver.solutions
|
|
SMTP_PASSWORD=102115e9f3b9d7332d0cd1d4329bc0d4-77751bfc-ca066b71
|
|
SENDER_EMAIL=TWIST-UK-SERVER@oliver.agency
|
|
ERROR_EMAIL=daveporter@oliver.agency
|
|
REPORT_EMAILS=daveporter@oliver.agency
|
|
|
|
# Mailgun API (alternative to SMTP)
|
|
MAILGUN_API_KEY=your_mailgun_api_key_here
|
|
MAILGUN_DOMAIN=mail.dev.oliver.solutions
|
|
|
|
# Webhook Configuration
|
|
CAMPAIGN_STATUS_WEBHOOK_URL=https://hook.us1.make.celonis.com/3f9ztwl8qnljufo0l65utfv5wvvnt9m5
|
|
WEBHOOK_AUTH_TOKEN=
|
|
WEBHOOK_RECEIVER_PORT=5555
|
|
BOX_WEBHOOK_PRIMARY_KEY=your_box_webhook_primary_key
|
|
BOX_WEBHOOK_SECONDARY_KEY=your_box_webhook_secondary_key
|