Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running dstack server with Postgres #1393

Closed
r4victor opened this issue Jul 4, 2024 · 0 comments · Fixed by #1398
Closed

Support running dstack server with Postgres #1393

r4victor opened this issue Jul 4, 2024 · 0 comments · Fixed by #1398
Assignees

Comments

@r4victor
Copy link
Collaborator

r4victor commented Jul 4, 2024

Currently, dstack supports only SQLite as the server's database. SQLite works great when running the server locally but may not be suitable for production deployments. The proposal is to let users opt-in to use Postgres.

SQLite also imposes a restriction that the dstack server cannot have multiple replicas. We can lift this restriction when using Postgres. This will require changing how concurrent access is handled and is to be addressed in a different issue.

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

Successfully merging a pull request may close this issue.

1 participant