GitDeployHub

tinyauthapp/tinyauth

github.com/tinyauthapp/tinyauth ↗
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)

  • TINYAUTH_APPURL The base URL where the app is hosted.
  • TINYAUTH_CONFIGFILE Path to config file.
  • TINYAUTH_LABELPROVIDER Label provider to use for ACLs (auto, docker, kubernetes or none to disable). auto detects the environment.
  • TINYAUTH_DATABASE_DRIVER The database driver to use. Valid values: sqlite, postgres, memory.
  • TINYAUTH_DATABASE_PATH The path to the SQLite database file, or connection URL when driver is postgres.
  • TINYAUTH_ANALYTICS_ENABLED Enable periodic version information collection.
  • TINYAUTH_RESOURCES_ENABLED Enable the resources server.
  • TINYAUTH_RESOURCES_PATH The directory where resources are stored.
  • TINYAUTH_SERVER_PORT The port on which the server listens.
  • TINYAUTH_SERVER_ADDRESS The address on which the server listens.
  • TINYAUTH_SERVER_SOCKETPATH The path to the Unix socket.
  • TINYAUTH_AUTH_IP_ALLOW List of allowed IPs or CIDR ranges.
  • TINYAUTH_AUTH_IP_BLOCK List of blocked IPs or CIDR ranges.
  • TINYAUTH_AUTH_IP_BYPASS List of IPs or CIDR ranges that bypass authentication entirely.
  • TINYAUTH_AUTH_USERS Comma-separated list of users (username:hashed_password).
  • TINYAUTH_AUTH_SUBDOMAINSENABLED Enable subdomains support.
  • TINYAUTH_AUTH_USERSFILE Path to the users file.
  • TINYAUTH_AUTH_SECURECOOKIE Enable secure cookies.
  • TINYAUTH_AUTH_SESSIONEXPIRY Session expiry time in seconds.
  • TINYAUTH_AUTH_SESSIONMAXLIFETIME Maximum session lifetime in seconds.
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/tinyauthapp/tinyauth
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/tinyauthapp/tinyauth
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/tinyauthapp/tinyauth
Or deploy to a different host
← Try another repo