Skip to content

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

@revolko

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.

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