-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* provides a mechanism for database initialization within the container image * only create file if it doesn't exist yet * rootless -> root container because of Litestream permissions issues I have no idea why, but Litestream sets a replicated file's permissions to 600 [0], which makes it impossible to access from a rootless container, if the file is being exposed through a volume. [0] https://github.com/benbjohnson/litestream/blob/5be467a478adcffc5b3999b9503cc676c2bf09f1/internal/internal.go#L62 * init db within __main__.py instead of outside script
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters