Keep FastAPI as the only backend; add media upload, ntfy hook, and PB collection bootstrap for production. Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Copy to nomadro-api.env on the server — DO NOT commit real keys
|
|
DEV_AUTO_PAY=false
|
|
PAYMENT_PROVIDER=zpay
|
|
PAYMENT_JOIN_AMOUNT=10000
|
|
PAYMENT_DEFAULT_AMOUNT=10000
|
|
SITE_BASE_URL=https://nomadweb.nomadro.com
|
|
|
|
# PocketBase (host process :8090)
|
|
POCKETBASE_URL=http://127.0.0.1:8090
|
|
POCKETBASE_ADMIN_EMAIL=admin@nomadro.com
|
|
POCKETBASE_ADMIN_PASSWORD=
|
|
|
|
# SeaweedFS S3 (s3.nomadro.com → 127.0.0.1:8333)
|
|
S3_ENABLED=true
|
|
S3_ENDPOINT=http://127.0.0.1:8333
|
|
S3_PUBLIC_URL=https://s3.nomadro.com
|
|
S3_ACCESS_KEY=nomadweb
|
|
S3_SECRET_KEY=
|
|
S3_BUCKET=nomadweb
|
|
S3_REGION=us-east-1
|
|
S3_UPLOAD_PREFIX=nomadweb
|
|
|
|
# ntfy push (docker on :2586)
|
|
NTFY_ENABLED=true
|
|
NTFY_URL=http://127.0.0.1:2586
|
|
|
|
ZPAY_PID=
|
|
ZPAY_KEY=
|
|
ZPAY_SUBMIT_URL=https://zpayz.cn/submit.php
|
|
ZPAY_MAPI_URL=https://zpayz.cn/mapi.php
|
|
ZPAY_QUERY_URL=https://zpayz.cn/api.php
|
|
ZPAY_NOTIFY_URL=https://nomadweb.nomadro.com/api/v1/pay/zpay_notify
|
|
|
|
XORPAY_AID=
|
|
XORPAY_SECRET=
|
|
XORPAY_CASHIER_URL=https://xorpay.com/api/cashier
|
|
XORPAY_QUERY_URL=https://xorpay.com/api/query2
|
|
XORPAY_NOTIFY_URL=https://nomadweb.nomadro.com/api/v1/pay/xorpay_notify
|
|
|
|
MIROTALK_URL=https://mirotalk.nomadro.com
|
|
LOUNGE_URL=https://lounge.nomadro.com
|