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

Improve Self-Hosting Guide #308

Merged
merged 6 commits into from
Feb 25, 2025
Merged

Improve Self-Hosting Guide #308

merged 6 commits into from
Feb 25, 2025

Conversation

kraftp
Copy link
Member

@kraftp kraftp commented Feb 21, 2025

No description provided.

@kraftp kraftp marked this pull request as draft February 21, 2025 22:23
@kraftp kraftp marked this pull request as ready for review February 24, 2025 23:20

## Self-Hosting On A Single Server

Self-hosting a DBOS application on a single server is simple: each time you restart your application's process, it recovers all workflows that were executing before the restart (all `PENDING` workflows).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Self-hosting a DBOS application on a single server is simple: each time you restart your application's process, it recovers all workflows that were executing before the restart (all `PENDING` workflows).
Self-hosting a DBOS application on a single server is simple: each time you restart your application's process, it recovers all workflows that were executing before the restart -- all `PENDING` workflows -- if the workflow code did not change (see [Managing Application versions](#managing-application-versions) bellow .

## Managing Application versions

When self-hosting, it is important to be careful when upgrading your application's code.
When DBOS is launched, it computes an "application version" from a checksum of the code in your application's workflows (you can override this version through the `DBOS__APPVERSION` environment variable).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When DBOS is launched, it computes an "application version" from a checksum of the code in your application's workflows (you can override this version through the `DBOS__APPVERSION` environment variable).
When DBOS is launched, it computes an "application version" from a checksum of your application's workflows, that is, their actual code. You can override this version through the `DBOS__APPVERSION` environment variable.

@kraftp kraftp merged commit 0f1c5d0 into main Feb 25, 2025
1 check passed
@kraftp kraftp deleted the kraftp/selfhosting branch February 25, 2025 22:52
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.

3 participants