GitDeployHub

cf-pages/wcaptcha-api

github.com/cf-pages/wcaptcha-api ↗
Go
8 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • STORAGE 存储类型,可以是以下类型: file: 使用本地文件存储 s3: 使用 AWS S3 兼容的 KV 存储 Storage type, available values are: file: Store data in native filesystem s3: Store…
  • STORAGE_PATH 如果使用 file 存储,在此指定存储目录 When using file storage, set dir path here
  • S3_ENDPOINT 如果使用 S3 兼容的 KV 存储,在此指定连接参数 When using s3 storage, set connection parameters here
  • S3_BUCKET
  • S3_ACCESS_KEY secret
  • S3_SECRET_KEY secret
  • NONCE_CLEANUP_PROB 触发清理过期的 Nonce 操作的概率 Nonce cleanup probility
  • GIN_MODE 在调试时可将此项设为空 When debugging, leave this variable empty
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/cf-pages/wcaptcha-api
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/cf-pages/wcaptcha-api
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/cf-pages/wcaptcha-api
Or deploy to a different host
← Try another repo