GitDeployHub

royp888/sola-bot

github.com/royp888/sola-bot ↗
Go
20 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)

  • SOLA_APP_NAME
  • SOLA_APP_ENV
  • SOLA_APP_HTTP_ADDR
  • SOLA_APP_ADMIN_USERNAME
  • SOLA_APP_ADMIN_PASSWORD secret
  • SOLA_APP_ADMIN_PASSWORD_HASH secret Preferred in production: generate with `htpasswd -bnBC 12 "" your-password | tr -d ":\n"`
  • SOLA_APP_ENABLE_SWAGGER
  • SOLA_APP_ALLOWED_ORIGINS
  • SOLA_BOT_TOKEN secret
  • SOLA_BOT_MODE
  • SOLA_BOT_DEFAULT_LOCALE
  • SOLA_BOT_MINI_APP_URL
  • SOLA_DATABASE_NAME
  • SOLA_DATABASE_USER
  • SOLA_DATABASE_PASSWORD secret
  • SOLA_DATABASE_DSN
  • SOLA_DATABASE_AUTO_MIGRATE
  • SOLA_DATABASE_MAX_OPEN_CONNS
  • SOLA_DATABASE_MAX_IDLE_CONNS
  • SOLA_DATABASE_CONN_MAX_LIFETIME
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/royp888/sola-bot
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/royp888/sola-bot
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/royp888/sola-bot
Or deploy to a different host
← Try another repo