AppFlowy-GoTrue

AppFlowy-GoTrue

Application Docker from vmalinics0's Repository

Vue d'ensemble

Step 4/7: GoTrue authentication service for AppFlowy Cloud — handles user sign-up, login, JWT issuance, OAuth, email magic links, and SAML. Part of the AppFlowy Cloud stack.

Exigences

Custom Docker network named "appflowy" must exist before deploying any container in this stack. Create it via SSH or the Unraid terminal: docker network create appflowy — Network Type is pre-set to "appflowy" by default, verify it is selected.

Arguments d'exécution

Réseau
custom:appflowy
Coquille
sh
Privilégié
false

Configuration du modèle

Base URLVariable

Public-facing GoTrue URL. Set to http://YOUR_SERVER_IP/gotrue (or your domain with /gotrue). Must be reachable by clients for OAuth redirects.

Cible
API_EXTERNAL_URL
Défaut
http://YOUR_SERVER_IP/gotrue
Valeur
http://YOUR_SERVER_IP/gotrue
Admin EmailVariable

Email address of the initial admin account created on first start.

Cible
GOTRUE_ADMIN_EMAIL
Défaut
admin@example.com
Valeur
admin@example.com
Admin PasswordVariable

Password for the initial admin account.

Cible
GOTRUE_ADMIN_PASSWORD
Défaut
changeme_admin_password
Valeur
changeme_admin_password
JWT SecretVariable

Shared JWT signing secret. MUST be identical to APPFLOWY_GOTRUE_JWT_SECRET in AppFlowy-Cloud. Minimum 32 characters. Keep private.

Cible
GOTRUE_JWT_SECRET
Défaut
changeme_jwt_secret_min32chars!!
Valeur
changeme_jwt_secret_min32chars!!
Database URLVariable

GoTrue PostgreSQL connection string. Update user, password, and host if you changed them. Uses the auth schema.

Cible
DATABASE_URL
Défaut
postgres://postgres:changeme_strong_password@AppFlowy-Postgres:5432/postgres?search_path=auth
Valeur
postgres://postgres:changeme_strong_password@AppFlowy-Postgres:5432/postgres?search_path=auth
JWT Expiry (seconds)Variable

JWT token lifetime in seconds. Default: 604800 (7 days).

Cible
GOTRUE_JWT_EXP
Défaut
604800
Valeur
604800
Auto-confirm EmailVariable

Set true to skip email confirmation (recommended for initial setup). Set false to require email confirmation — you must also configure SMTP.

Cible
GOTRUE_MAILER_AUTOCONFIRM
Défaut
true
Valeur
true
Disable Public SignupVariable

Set true to allow only invited users to sign up.

Cible
GOTRUE_DISABLE_SIGNUP
Défaut
false
Valeur
false
Rate Limit (emails/min)Variable

Maximum emails GoTrue can send per minute.

Cible
GOTRUE_RATE_LIMIT_EMAIL_SENT
Défaut
100
Valeur
100
DB DriverVariable

Database driver — always postgres.

Cible
GOTRUE_DB_DRIVER
Défaut
postgres
Valeur
postgres
Site URLVariable

Deep-link scheme for the AppFlowy native app.

Cible
GOTRUE_SITE_URL
Défaut
appflowy-flutter://
Valeur
appflowy-flutter://
URI Allow ListVariable

Allowed OAuth redirect URIs. ** permits all; restrict for production.

Cible
GOTRUE_URI_ALLOW_LIST
Défaut
**
Valeur
**
JWT Admin GroupVariable

JWT group name for admin users.

Cible
GOTRUE_JWT_ADMIN_GROUP_NAME
Défaut
supabase_admin
Valeur
supabase_admin
Internal PortVariable

GoTrue internal listen port. Do not change.

Cible
PORT
Défaut
9999
Valeur
9999
Mailer Confirm PathVariable

URL path for email confirmation links.

Cible
GOTRUE_MAILER_URLPATHS_CONFIRMATION
Défaut
/gotrue/verify
Valeur
/gotrue/verify
Mailer Invite PathVariable

URL path for invite links.

Cible
GOTRUE_MAILER_URLPATHS_INVITE
Défaut
/gotrue/verify
Valeur
/gotrue/verify
Mailer Recovery PathVariable

URL path for password recovery links.

Cible
GOTRUE_MAILER_URLPATHS_RECOVERY
Défaut
/gotrue/verify
Valeur
/gotrue/verify
Mailer Email-Change PathVariable

URL path for email-change confirmation links.

Cible
GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE
Défaut
/gotrue/verify
Valeur
/gotrue/verify
SMTP HostVariable

SMTP server hostname (e.g. smtp.gmail.com). Required if GOTRUE_MAILER_AUTOCONFIRM=false.

Cible
GOTRUE_SMTP_HOST
SMTP PortVariable

SMTP port. Use 465 for TLS/SMTPS, 587 for STARTTLS.

Cible
GOTRUE_SMTP_PORT
Défaut
465
Valeur
465
SMTP UserVariable

SMTP sender email address.

Cible
GOTRUE_SMTP_USER
SMTP PasswordVariable

SMTP password.

Cible
GOTRUE_SMTP_PASS
SMTP Admin EmailVariable

Admin email used as the From address.

Cible
GOTRUE_SMTP_ADMIN_EMAIL
SMTP Max FrequencyVariable

Minimum interval between emails to the same address. Use 1ns for no limit.

Cible
GOTRUE_SMTP_MAX_FREQUENCY
Défaut
1ns
Valeur
1ns
Magic Link Template URLVariable

Optional: public URL to a custom magic-link email HTML template.

Cible
GOTRUE_MAILER_TEMPLATES_MAGIC_LINK
Google OAuth EnabledVariable

Enable Google OAuth login.

Cible
GOTRUE_EXTERNAL_GOOGLE_ENABLED
Défaut
false
Valeur
false
Google Client IDVariable

Google OAuth client ID.

Cible
GOTRUE_EXTERNAL_GOOGLE_CLIENT_ID
Google Client SecretVariable

Google OAuth client secret.

Cible
GOTRUE_EXTERNAL_GOOGLE_SECRET
Google Redirect URIVariable

Google OAuth redirect URI.

Cible
GOTRUE_EXTERNAL_GOOGLE_REDIRECT_URI
Défaut
http://YOUR_SERVER_IP/gotrue/callback
Valeur
http://YOUR_SERVER_IP/gotrue/callback
GitHub OAuth EnabledVariable

Enable GitHub OAuth login.

Cible
GOTRUE_EXTERNAL_GITHUB_ENABLED
Défaut
false
Valeur
false
GitHub Client IDVariable

GitHub OAuth app client ID.

Cible
GOTRUE_EXTERNAL_GITHUB_CLIENT_ID
GitHub Client SecretVariable

GitHub OAuth app client secret.

Cible
GOTRUE_EXTERNAL_GITHUB_SECRET
GitHub Redirect URIVariable

GitHub OAuth redirect URI.

Cible
GOTRUE_EXTERNAL_GITHUB_REDIRECT_URI
Défaut
http://YOUR_SERVER_IP/gotrue/callback
Valeur
http://YOUR_SERVER_IP/gotrue/callback
Discord OAuth EnabledVariable

Enable Discord OAuth login.

Cible
GOTRUE_EXTERNAL_DISCORD_ENABLED
Défaut
false
Valeur
false
Discord Client IDVariable

Discord OAuth application client ID.

Cible
GOTRUE_EXTERNAL_DISCORD_CLIENT_ID
Discord Client SecretVariable

Discord OAuth application client secret.

Cible
GOTRUE_EXTERNAL_DISCORD_SECRET
Discord Redirect URIVariable

Discord OAuth redirect URI.

Cible
GOTRUE_EXTERNAL_DISCORD_REDIRECT_URI
Défaut
http://YOUR_SERVER_IP/gotrue/callback
Valeur
http://YOUR_SERVER_IP/gotrue/callback
SAML EnabledVariable

Enable SAML 2.0 single sign-on.

Cible
GOTRUE_SAML_ENABLED
Défaut
false
Valeur
false
SAML Private KeyVariable

PEM-encoded private key for SAML 2.0 signing.

Cible
GOTRUE_SAML_PRIVATE_KEY

Télécharger les statistiques

327,951
Total des téléchargements

Détails

Référentiel
appflowyinc/gotrue:latest
Dernière mise à jour2026-05-25
Première vue2026-05-26

Exécutez AppFlowy-GoTrue sur Unraid.

AppFlowy-GoTrue est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.