Skip to content

Commit

Permalink
feat: use persistent volumes for db
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 30, 2023
1 parent 2da51e0 commit bb7f211
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions website/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ primary_region = "nrt"
kill_signal = "SIGINT"
kill_timeout = "5s"

[mounts]
source = "litefs"
destination = "/var/lib/litefs"

[experimental]
auto_rollback = true
enable_consul = true
Expand Down
2 changes: 1 addition & 1 deletion website/litefs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fuse:

data:
# Path to internal data storage.
dir: '/data/litefs'
dir: '/var/lib/litefs'

proxy:
# matches the internal_port in fly.toml
Expand Down

0 comments on commit bb7f211

Please sign in to comment.