main: Added email test for stripe
All checks were successful
Build Docker / Build Bot (push) Successful in 24s
Build Docker / Build Master (push) Successful in 25s

This commit is contained in:
2023-08-24 16:53:39 +10:00
parent 969e5e17a5
commit eb137b85d3
2 changed files with 40 additions and 8 deletions

View File

@@ -50,6 +50,19 @@ Then to start the master api server
screen -dmS hnshosting-master python3 main.py
```
## Stripe webhook
Create a new webhook endpoint on stripe and set the url to https://master-server-domain:5000/stripe-webhook (note: you need to add a https proxy to your master server if you want to use stripe)
Add these environment variables to your master server
```yaml
STRIPE_SECRET: your-stripe-secret-key
STRIPE_ENDPOINT_SECRET: your-stripe-endpoint-secret
SMTP_HOST: smtp-server
SMTP_PORT: smtp-port
SMTP_USER: smtp-user
SMTP_PASS: smtp-pass
SMTP_FROM: smtp-from <Optional>
```
## Worker server install