Update email from address and add deploy script
- Fix EMAIL_FROM to use contact.golfcards.club subdomain - Add scripts/deploy.sh Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b81874f5ba
commit
82e5226acc
@ -26,7 +26,7 @@ services:
|
|||||||
- REDIS_URL=redis://redis:6379
|
- REDIS_URL=redis://redis:6379
|
||||||
- SECRET_KEY=${SECRET_KEY}
|
- SECRET_KEY=${SECRET_KEY}
|
||||||
- RESEND_API_KEY=${RESEND_API_KEY:-}
|
- RESEND_API_KEY=${RESEND_API_KEY:-}
|
||||||
- EMAIL_FROM=${EMAIL_FROM:-Golf Cards <noreply@golfcards.club>}
|
- EMAIL_FROM=${EMAIL_FROM:-Golf Cards <noreply@contact.golfcards.club>}
|
||||||
- SENTRY_DSN=${SENTRY_DSN:-}
|
- SENTRY_DSN=${SENTRY_DSN:-}
|
||||||
- ENVIRONMENT=production
|
- ENVIRONMENT=production
|
||||||
- LOG_LEVEL=INFO
|
- LOG_LEVEL=INFO
|
||||||
|
|||||||
9
scripts/deploy.sh
Executable file
9
scripts/deploy.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
DROPLET="root@165.245.152.51"
|
||||||
|
REMOTE_DIR="/opt/golfgame"
|
||||||
|
|
||||||
|
echo "Deploying to $DROPLET..."
|
||||||
|
ssh $DROPLET "cd $REMOTE_DIR && git pull origin main && docker compose -f docker-compose.prod.yml up -d --build app"
|
||||||
|
echo "Deploy complete."
|
||||||
Loading…
Reference in New Issue
Block a user