Skip to content

feat(blueprints): add SuperTokens template - #1424

Open
RamezHany wants to merge 2 commits into
Dokploy:canaryfrom
RamezHany:add-supertokens-template
Open

RamezHany wants to merge 2 commits into
Dokploy:canaryfrom
RamezHany:add-supertokens-template

Conversation

@RamezHany

Copy link
Copy Markdown
Contributor

What is this PR about?

New PR of the SuperTokens template — the SuperTokens authentication core (sign-up, sign-in, sessions, password reset, MFA) backed by PostgreSQL, ready to be wired into an app's backend via the SuperTokens SDKs (https://github.com/supertokens/supertokens-core).

Notes for reviewers:

  • Official image, pinned version. The template runs the official registry.supertokens.io/supertokens/supertokens-postgresql:12.5.1 image — the PostgreSQL variant from SuperTokens' own registry and self-hosting guide (latest stable; the tag was verified against the registry/Docker Hub and is the version the live trial ran as :latest). meta.json version matches the image tag.
  • Two services. supertokens (port 3567, wired to the domain in template.toml) plus PostgreSQL 16 with a healthcheck; the core waits via depends_on: service_healthy. The database password is generated at deploy time and shared by both services through the connection URI.
  • API-only by design: SuperTokens core has no UI. The live trial verified the deployment the way the docs prescribe — GET /hello on the domain returns Hello. The README explains the core/backend relationship and documents the optional API_KEYS hardening (deliberately left to the user, since the key must match their own backend's SDK configuration).
  • The logo is the project's official logo (supertokens.png, from supertokens.com).

Checklist

Before submitting this PR, please make sure that:

  • I have read the suggestions in the README.md file https://github.com/Dokploy/templates?tab=readme-ov-file#general-requirements-when-creating-a-template
  • I have tested the template in my instance, so the maintainers don't spend time trying to figure out what's wrong. (Live trial deployment was run and confirmed before this PR was submitted — see the screenshots below.)
  • I have added tests that demonstrate that my correction works or that my new feature works. (Not applicable — blueprint templates have no code tests; it is verified by a live deployment instead. generate-meta.js --check, validate-template.ts and validate-docker-compose.ts all pass locally against this blueprint.)

Issues related (if applicable)

None — standalone submission; there is no open request issue for SuperTokens.

Screenshots or Videos

image-9379988f

@github-actions

github-actions Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview fa7833b

This branch was successfully deployed

1 active deployment
Preview — fa7833b5 Deployed Nov 28, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant