{"app":{"Icon":"https://raw.githubusercontent.com/yusseiin/unraid-templates/main/img/sure.png","Name":"Sure","Repo":"Yusseiin's Repository","Shell":"bash","WebUI":"http://[IP]:[PORT:3000]","Config":[{"value":"3000","@attributes":{"Mask":"false","Mode":"tcp","Name":"WebUI Port","Type":"Port","Target":"3000","Default":"3000","Display":"always","Required":"true","Description":"HTTP port for the Sure web interface."}},{"value":"/mnt/user/appdata/sure/storage","@attributes":{"Mask":"false","Mode":"rw","Name":"Storage","Type":"Path","Target":"/rails/storage","Default":"/mnt/user/appdata/sure/storage","Display":"always","Required":"true","Description":"Uploaded files (attachments, statements, imports/exports, logos). Must be the same path used by Sure-Worker. Owned by 1000:1000."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Secret Key Base","Type":"Variable","Target":"SECRET_KEY_BASE","Default":"","Display":"always","Required":"true","Description":"Required. Random secret used to encrypt data. Generate with: openssl rand -hex 64. Must be identical in Sure-Worker. Never change it after first start or encrypted data becomes unreadable."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Encryption Primary Key","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY","Default":"","Display":"always","Required":"false","Description":"Optional (derived from Secret Key Base if blank). Set all three or none. If set, MUST be identical in Sure and Sure-Worker. Generate with: openssl rand -hex 32. Never change after first start."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Encryption Deterministic Key","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY","Default":"","Display":"always","Required":"false","Description":"Optional (derived from Secret Key Base if blank). Set all three or none. If set, MUST be identical in Sure and Sure-Worker. Generate with: openssl rand -hex 32. Never change after first start."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Encryption Key Derivation Salt","Type":"Variable","Target":"ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT","Default":"","Display":"always","Required":"false","Description":"Optional (derived from Secret Key Base if blank). Set all three or none. If set, MUST be identical in Sure and Sure-Worker. Generate with: openssl rand -hex 32. Never change after first start."}},{"value":"postgres17_sure","@attributes":{"Mask":"false","Mode":"","Name":"Database Host","Type":"Variable","Target":"DB_HOST","Default":"postgres17_sure","Display":"always","Required":"true","Description":"PostgreSQL host. Pre-set to the postgres17_sure container on sure-net. Using your own PostgreSQL? Put its container name (same network) or IP here."}},{"value":"5432","@attributes":{"Mask":"false","Mode":"","Name":"Database Port","Type":"Variable","Target":"DB_PORT","Default":"5432","Display":"always","Required":"true","Description":"PostgreSQL port."}},{"value":"sure_production","@attributes":{"Mask":"false","Mode":"","Name":"Database Name","Type":"Variable","Target":"POSTGRES_DB","Default":"sure_production","Display":"always","Required":"true","Description":"PostgreSQL database name. It is created automatically if the user has permission."}},{"value":"sure_user","@attributes":{"Mask":"false","Mode":"","Name":"Database User","Type":"Variable","Target":"POSTGRES_USER","Default":"sure_user","Display":"always","Required":"true","Description":"PostgreSQL user."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Database Password","Type":"Variable","Target":"POSTGRES_PASSWORD","Default":"","Display":"always","Required":"true","Description":"Required. The same password set in postgres17_sure."}},{"value":"redis://redis_sure:6379/1","@attributes":{"Mask":"false","Mode":"","Name":"Redis URL","Type":"Variable","Target":"REDIS_URL","Default":"redis://redis_sure:6379/1","Display":"always","Required":"true","Description":"Redis connection URL. Pre-set to the redis_sure container on sure-net. Using your own Redis? e.g. redis://CONTAINER_OR_IP:6379/1 (with password: redis://:password@host:6379/1)."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"App Domain","Type":"Variable","Target":"APP_DOMAIN","Default":"","Display":"always","Required":"false","Description":"Host name Sure is reached at (e.g. sure.example.com). Used to build links in emails."}},{"value":"false","@attributes":{"Mask":"false","Mode":"","Name":"Assume SSL","Type":"Variable","Target":"RAILS_ASSUME_SSL","Default":"false","Display":"always","Required":"true","Description":"Set to true when Sure is served over HTTPS by a reverse proxy (e.g. SWAG, Nginx Proxy Manager, Cloudflare Tunnel)."}},{"value":"false","@attributes":{"Mask":"false","Mode":"","Name":"Force SSL","Type":"Variable","Target":"RAILS_FORCE_SSL","Default":"false","Display":"advanced","Required":"true","Description":"Redirect all HTTP requests to HTTPS. Leave false when behind a reverse proxy."}},{"value":"true","@attributes":{"Mask":"false","Mode":"","Name":"Self Hosted","Type":"Variable","Target":"SELF_HOSTED","Default":"true","Display":"advanced","Required":"true","Description":"Enables self-hosting features. Leave true."}},{"value":"open","@attributes":{"Mask":"false","Mode":"","Name":"Onboarding State","Type":"Variable","Target":"ONBOARDING_STATE","Default":"open","Display":"advanced","Required":"false","Description":"Default signup mode: open, invite_only or closed. Can also be changed later in Settings &gt; Self-Hosting &gt; Onboarding."}},{"value":"yahoo_finance","@attributes":{"Mask":"false","Mode":"","Name":"Exchange Rate Provider","Type":"Variable","Target":"EXCHANGE_RATE_PROVIDER","Default":"yahoo_finance","Display":"advanced","Required":"false","Description":"yahoo_finance (free, no key) or twelve_data (needs Twelve Data API Key)."}},{"value":"yahoo_finance","@attributes":{"Mask":"false","Mode":"","Name":"Securities Provider","Type":"Variable","Target":"SECURITIES_PROVIDER","Default":"yahoo_finance","Display":"advanced","Required":"false","Description":"yahoo_finance (free, no key) or twelve_data (needs Twelve Data API Key)."}},{"value":"UTC","@attributes":{"Mask":"false","Mode":"","Name":"Market Data Sync Timezone","Type":"Variable","Target":"MARKET_DATA_SYNC_TIMEZONE","Default":"UTC","Display":"always","Required":"false","Description":"IANA timezone for the daily price import (e.g. Europe/Rome). Unknown names fall back to UTC. Use the same value in Sure and Sure-Worker. Values saved in Settings &gt; Self-Hosting take precedence."}},{"value":"22:00","@attributes":{"Mask":"false","Mode":"","Name":"Market Data Sync Time","Type":"Variable","Target":"MARKET_DATA_SYNC_TIME","Default":"22:00","Display":"advanced","Required":"false","Description":"HH:MM (24h, in the Market Data Sync Timezone) for the daily price import, Monday to Friday. Use the same value in Sure and Sure-Worker."}},{"value":"1","@attributes":{"Mask":"false","Mode":"","Name":"Market Data Sync Enabled","Type":"Variable","Target":"MARKET_DATA_SYNC_ENABLED","Default":"1|0","Display":"advanced","Required":"false","Description":"1 = import security prices daily (Monday to Friday), 0 = off. Do not leave blank (blank means off). Values saved in Settings &gt; Self-Hosting take precedence. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Twelve Data API Key","Type":"Variable","Target":"TWELVE_DATA_API_KEY","Default":"","Display":"advanced","Required":"false","Description":"Optional. API key from twelvedata.com for exchange rates and stock prices. Can also be set in the Self-Hosting settings page."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"Assistant Type","Type":"Variable","Target":"ASSISTANT_TYPE","Default":"|builtin|external|mcp_only","Display":"always","Required":"false","Description":"Forces the AI assistant type for the whole instance. Blank = each family chooses in Settings &gt; Self-Hosting. builtin = in-app chat using the OpenAI fields. external = your own agent (also needs EXTERNAL_ASSISTANT_URL / EXTERNAL_ASSISTANT_TOKEN). mcp_only = no in-app chat at all (sidebar, toggle and mobile tab hidden), MCP stays available for your own agent; background categorization keeps working. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"MCP API Token","Type":"Variable","Target":"MCP_API_TOKEN","Default":"","Display":"always","Required":"false","Description":"Optional. Bearer token that lets your own AI agent use Sure's /mcp endpoint (e.g. with Assistant Type mcp_only or external). Generate with: openssl rand -hex 32. Needs MCP User Email too."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"MCP User Email","Type":"Variable","Target":"MCP_USER_EMAIL","Default":"","Display":"always","Required":"false","Description":"Optional. Email of an existing Sure user whose data the MCP token can access. Required together with MCP API Token."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"OpenAI Access Token","Type":"Variable","Target":"OPENAI_ACCESS_TOKEN","Default":"","Display":"advanced","Required":"false","Description":"Optional. Enables AI features (chat, rules) via OpenAI or any OpenAI-compatible API. Using OpenAI incurs costs - set spend limits."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OpenAI Model","Type":"Variable","Target":"OPENAI_MODEL","Default":"","Display":"advanced","Required":"false","Description":"Optional. Model name to use (required for custom OpenAI-compatible endpoints)."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OpenAI URI Base","Type":"Variable","Target":"OPENAI_URI_BASE","Default":"","Display":"advanced","Required":"false","Description":"Optional. Base URL of an OpenAI-compatible API (e.g. http://192.168.1.100:11434/v1 for Ollama)."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"WebAuthn RP ID","Type":"Variable","Target":"WEBAUTHN_RP_ID","Default":"","Display":"advanced","Required":"false","Description":"Optional. For passkeys/security keys: your registrable domain (e.g. example.com), not a URL."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"WebAuthn Allowed Origins","Type":"Variable","Target":"WEBAUTHN_ALLOWED_ORIGINS","Default":"","Display":"advanced","Required":"false","Description":"Optional. Comma-separated full origins where Sure is accessed (e.g. https://sure.example.com)."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"External Assistant URL","Type":"Variable","Target":"EXTERNAL_ASSISTANT_URL","Default":"","Display":"advanced","Required":"false","Description":"Only for Assistant Type external: your agent's OpenAI-compatible chat endpoint, e.g. https://your-agent/v1/chat/completions. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"External Assistant Token","Type":"Variable","Target":"EXTERNAL_ASSISTANT_TOKEN","Default":"","Display":"advanced","Required":"false","Description":"Only for Assistant Type external: API token for your agent. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"External Assistant Model","Type":"Variable","Target":"EXTERNAL_ASSISTANT_MODEL","Default":"","Display":"advanced","Required":"false","Description":"Only for Assistant Type external: model name. Blank = openclaw/main. Use the same value in Sure and Sure-Worker."}},{"value":"openai","@attributes":{"Mask":"false","Mode":"","Name":"LLM Provider","Type":"Variable","Target":"LLM_PROVIDER","Default":"openai|anthropic","Display":"advanced","Required":"false","Description":"AI provider for chat and background AI jobs: openai (OpenAI or any OpenAI-compatible API such as Ollama) or anthropic (native Anthropic API, needs Anthropic API Key). Setting it here locks the choice on the Settings page. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Anthropic API Key","Type":"Variable","Target":"ANTHROPIC_API_KEY","Default":"","Display":"advanced","Required":"false","Description":"Only for LLM Provider anthropic. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"Anthropic Model","Type":"Variable","Target":"ANTHROPIC_MODEL","Default":"","Display":"advanced","Required":"false","Description":"Only for LLM Provider anthropic. Blank = Sure's default Claude model. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"LLM Context Window","Type":"Variable","Target":"LLM_CONTEXT_WINDOW","Default":"","Display":"advanced","Required":"false","Description":"Token budget for OpenAI-compatible models. Blank = Settings page value or 2048. Raise it for larger local models (e.g. 8192). Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OpenAI Request Timeout","Type":"Variable","Target":"OPENAI_REQUEST_TIMEOUT","Default":"","Display":"advanced","Required":"false","Description":"Seconds per LLM request. Blank = Settings page value or 60. Raise for slow local models (e.g. 300 for Ollama on CPU). Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"AI Response Timeout","Type":"Variable","Target":"AI_RESPONSE_TIMEOUT","Default":"","Display":"advanced","Required":"false","Description":"Seconds the chat waits for a full answer before showing no response. Blank = Settings page value or 90 (minimum 30). Raise for slow local models. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"Vector Store Provider","Type":"Variable","Target":"VECTOR_STORE_PROVIDER","Default":"|pgvector|openai","Display":"advanced","Required":"false","Description":"AI document search. Blank = hosted OpenAI when an OpenAI token is set. pgvector = store embeddings in postgres17_sure (needs an embeddings endpoint below). Best set before the first start of Sure, as its table is created by a database migration. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"Embedding URI Base","Type":"Variable","Target":"EMBEDDING_URI_BASE","Default":"","Display":"advanced","Required":"false","Description":"OpenAI-compatible embeddings endpoint for pgvector, e.g. http://ollama:11434/v1. Blank = OpenAI URI Base, then OpenAI. Use the same value in Sure and Sure-Worker."}},{"value":"mxbai-embed-large","@attributes":{"Mask":"false","Mode":"","Name":"Embedding Model","Type":"Variable","Target":"EMBEDDING_MODEL","Default":"mxbai-embed-large","Display":"advanced","Required":"false","Description":"Embedding model name. Do not leave blank. Use the same value in Sure and Sure-Worker."}},{"value":"1024","@attributes":{"Mask":"false","Mode":"","Name":"Embedding Dimensions","Type":"Variable","Target":"EMBEDDING_DIMENSIONS","Default":"1024","Display":"advanced","Required":"false","Description":"Must match the embedding model (1024 for mxbai-embed-large). Do not leave blank or change after pgvector data exists. Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Brandfetch Client ID","Type":"Variable","Target":"BRAND_FETCH_CLIENT_ID","Default":"","Display":"advanced","Required":"false","Description":"Optional. Client ID from brandfetch.com for bank and merchant logos. Set it here rather than on the Settings page (a blank value here can clear a key saved there). Use the same value in Sure and Sure-Worker."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OIDC Issuer","Type":"Variable","Target":"OIDC_ISSUER","Default":"","Display":"advanced","Required":"false","Description":"Optional single sign-on (Authentik, Authelia, Keycloak...). Issuer URL of your provider. All four OIDC fields are needed to enable it."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OIDC Client ID","Type":"Variable","Target":"OIDC_CLIENT_ID","Default":"","Display":"advanced","Required":"false","Description":"Optional single sign-on: client ID from your OIDC provider."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"OIDC Client Secret","Type":"Variable","Target":"OIDC_CLIENT_SECRET","Default":"","Display":"advanced","Required":"false","Description":"Optional single sign-on: client secret from your OIDC provider."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"OIDC Redirect URI","Type":"Variable","Target":"OIDC_REDIRECT_URI","Default":"","Display":"advanced","Required":"false","Description":"Optional single sign-on: https://YOUR-SURE-DOMAIN/auth/openid_connect/callback (register the same URL in your provider)."}},{"value":"","@attributes":{"Mask":"false","Mode":"","Name":"Sidekiq Web Username","Type":"Variable","Target":"SIDEKIQ_WEB_USERNAME","Default":"","Display":"advanced","Required":"false","Description":"Optional extra basic-auth login for the /sidekiq jobs page (already limited to the super admin). Needs Sidekiq Web Password too."}},{"value":"","@attributes":{"Mask":"true","Mode":"","Name":"Sidekiq Web Password","Type":"Variable","Target":"SIDEKIQ_WEB_PASSWORD","Default":"","Display":"advanced","Required":"false","Description":"Optional extra basic-auth password for the /sidekiq jobs page. Needs Sidekiq Web Username too."}}],"Network":"sure-net","Project":"https://github.com/we-promise/sure","Support":"https://github.com/we-promise/sure/issues","Overview":"Sure is a self-hosted personal finance and wealth management app (community fork of Maybe Finance). Track accounts, transactions, budgets, investments and net worth, with optional AI features.\r\n\r\nFull step-by-step guide: https://github.com/Yusseiin/Unraid-templates/blob/main/docs/sure-setup.md\r\n\r\nThis is the WEB container. Sure needs FOUR containers, all available from this repository and pre-configured to talk to each other on the \"sure-net\" Docker network. Install them in this order:\r\n  1. postgres17_sure - database\r\n  2. redis_sure - job queue\r\n  3. Sure (this template) - web UI, runs database migrations on start\r\n  4. Sure-Worker - background jobs: bank syncs, imports, market data, emails\r\n\r\nBEFORE INSTALLING, open the Unraid terminal once and run:\r\n\r\ndocker network create sure-net\r\nmkdir -p /mnt/user/appdata/sure/storage\r\nchown -R 1000:1000 /mnt/user/appdata/sure\r\n\r\nAlso enable Settings > Docker > \"Preserve user defined networks\" (Advanced View, Docker must be stopped to change it) so sure-net survives reboots.\r\n\r\nDatabase Host and Redis URL are already set to postgres17_sure and redis_sure: do not rename those containers. If you use your own PostgreSQL/Redis instead, change Network Type and these two fields.\r\n\r\nYou only need to fill in: Secret Key Base (generate with: openssl rand -hex 64) and Database Password (the same one set in postgres17_sure). Sure and Sure-Worker MUST use the same Secret Key Base, database and Redis settings, and the same Storage path.\r\n\r\nActive Record Encryption keys (Primary Key, Deterministic Key, Key Derivation Salt) are optional: if left blank they are derived from the Secret Key Base. Set all three or none (Sure refuses to start if only some are set). If you set them, generate three random values (e.g. openssl rand -hex 32 three times) and use EXACTLY THE SAME three values in Sure and Sure-Worker. Set them before first start and never change them afterwards, or encrypted data (API keys, provider credentials) becomes unreadable.\r\n\r\nAfter creating your first account (it becomes the super admin), restrict new signups from Settings > Self-Hosting > Onboarding. If you expose Sure through an HTTPS reverse proxy, set Assume SSL to true.","Registry":"https://github.com/we-promise/sure/pkgs/container/sure","Requires":"The Docker network &quot;sure-net&quot; (docker network create sure-net), postgres17_sure, redis_sure and Sure-Worker.","CAComment":"This template is set up to use a custom network. You may have to adjust the network or IP address etc to match your system","FirstSeen":1758697641,"Privileged":"false","Repository":"ghcr.io/we-promise/sure:stable","TemplateURL":"https://raw.githubusercontent.com/Yusseiin/unraid-templates/main/templates/sure.xml","CategoryList":["Productivity","Tools-Utilities"],"TemplatePath":"/tmp/GitHub/AppFeed/templates/sure.xml","categories.lvl0":["Productivity","Tools"],"categories.lvl1":["Tools > Utilities"],"objectID":"app_990a301b808a7558","statsPath":"https://assets.ca.unraid.net/feed/repositories/ghcr.io___we-promise___sure","appType":"docker","InstallTemplateURL":"https://raw.githubusercontent.com/Yusseiin/unraid-templates/main/templates/sure.xml","beta":false,"deprecated":false,"recommended":false,"isOfficial":false,"overviewPreview":"Sure is a self-hosted personal finance and wealth management app (community fork of Maybe Finance).","categoryPaths":["Productivity","Tools","Tools > Utilities"],"deepestCategories":["Productivity","Tools > Utilities"],"deepestCategoryLevel":1,"updatedAt":1795493781,"canRenderGraphs":false,"trendsDateFormatted":[],"trendsAligned":[],"downloadtrendAligned":[],"monthlyDownloads":[],"popularityScore":0,"isTrending":false,"chartData":null}}