Skip to content

Question: Do you plan to support server-full databases? #17

Description

@revolko

As I understand it, ONCE makes it very easy to install/deploy web apps that use in-process database engines (e.g. SQLite). The installation of an app using Postgres is a bit more tricky -- the only way I can think of is running Postgres DB outside of the ONCE context and provide DATABASE_URL as env var to the application (after startup).

Question

Do you plan/would consider adding support for "managed" database? By "managed" I mean that ONCE runs a database server (just like it runs once-proxy instance), creates a new database and user for each application and injects database URL as env var (e.g. DATABASE_URL).

Don't take me wrong, I really like the way you handle the persistence layer -- quite elegant (I am working on the similar tool as ONCE and I did not think of SQLite as a solution to the persistence layer problem 😄 ). So I am just wondering what are you plans/thoughts in this regard.

Activity

  1. locked and limited conversation to collaborators on Apr 3, 2026
  2. converted this issue into a discussion #39 on Apr 3, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions