github.com/Redstoneguy129/cli@v0.0.0-20230211220159-15dca4e91917/internal/utils/templates/init_config.toml (about) 1 # A string used to distinguish different Supabase projects on the same host. Defaults to the working 2 # directory name when running `supabase init`. 3 project_id = "{{ .ProjectId }}" 4 5 [api] 6 # Port to use for the API URL. 7 port = 54321 8 # Schemas to expose in your API. Tables, views and stored procedures in this schema will get API 9 # endpoints. public and storage are always included. 10 schemas = ["public", "storage", "graphql_public"] 11 # Extra schemas to add to the search_path of every request. public is always included. 12 extra_search_path = ["public", "extensions"] 13 # The maximum number of rows returns from a view, table, or stored procedure. Limits payload size 14 # for accidental or malicious requests. 15 max_rows = 1000 16 17 [db] 18 # Port to use for the local database URL. 19 port = 54322 20 # The database major version to use. This has to be the same as your remote database's. Run `SHOW 21 # server_version;` on the remote database to check. 22 major_version = 15 23 24 [studio] 25 # Port to use for Supabase Studio. 26 port = 54323 27 28 # Email testing server. Emails sent with the local dev setup are not actually sent - rather, they 29 # are monitored, and you can view the emails that would have been sent from the web interface. 30 [inbucket] 31 # Port to use for the email testing server web interface. 32 port = 54324 33 smtp_port = 54325 34 pop3_port = 54326 35 36 [storage] 37 # The maximum file size allowed (e.g. "5MB", "500KB"). 38 file_size_limit = "50MiB" 39 40 [auth] 41 # The base URL of your website. Used as an allow-list for redirects and for constructing URLs used 42 # in emails. 43 site_url = "http://localhost:3000" 44 # A list of *exact* URLs that auth providers are permitted to redirect to post authentication. 45 additional_redirect_urls = ["https://localhost:3000"] 46 # How long tokens are valid for, in seconds. Defaults to 3600 (1 hour), maximum 604,800 seconds (one 47 # week). 48 jwt_expiry = 3600 49 # Allow/disallow new user signups to your project. 50 enable_signup = true 51 52 [auth.email] 53 # Allow/disallow new user signups via email to your project. 54 enable_signup = true 55 # If enabled, a user will be required to confirm any email change on both the old, and new email 56 # addresses. If disabled, only the new email is required to confirm. 57 double_confirm_changes = true 58 # If enabled, users need to confirm their email address before signing in. 59 enable_confirmations = false 60 61 # Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`, 62 # `discord`, `facebook`, `github`, `gitlab`, `google`, `keycloak`, `linkedin`, `notion`, `twitch`, 63 # `twitter`, `slack`, `spotify`, `workos`, `zoom`. 64 [auth.external.apple] 65 enabled = false 66 client_id = "" 67 secret = "" 68 # Overrides the default auth redirectUrl. 69 redirect_uri = "" 70 # Overrides the default auth provider URL. Used to support self-hosted gitlab, single-tenant Azure, 71 # or any other third-party OIDC providers. 72 url = ""