Skip to content

Decentralized Frontend example #19

Open

Description

@amiller

We really want something like Vercel for Dstack.

Something where you point it to a github, and pretty much get automatic server-side scaling.

So far we've demonstrated agents and backends in Dstack, but stopped short of full webapps

  • Hello world website with CRM features
  • Follows a best practice for Dstack w/ the database
    • option 1: uses local ephemeral sqlite only
    • option 2: uses a blockchain smart contract instead
    • option 3: uses dstack-database and the original
  • Follows best practice for hosting with a secure domain
  • Automatic CI/CD using on-chain approval process

Activity

  1. amiller commented on Feb 26, 2025

    @amiller
    CollaboratorAuthor

    These nextjs and fastapi dstack starting points are closely related. They focus on illustrating the use of dstack sdk to access attestations and keys from a shared KMS
    https://github.com/Phala-Network/phala-cloud-python-starter

    This issue is a little different in pointing out the need for a DB and release management

  2. Leechael commented on Feb 27, 2025

    @Leechael
    Contributor

    @amiller What are your thoughts on backup and replication for the app? Using WordPress as an example, how can we ensure the backup process runs smoothly? Is it a critical concern in this situation?

  3. amiller commented on Jun 5, 2025

    @amiller
    CollaboratorAuthor

    Researched a few open source platforms as a service frameworks. These would be a good way to finish this issue.

    These are fairly similar in that they run container-based applications within a docker environment. They all have some ingress based dispatch nginx

    One way to look at this prompt is that it's about multiplexing a single CVM to host potentially many smaller applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions