Skip to content

Commit 8985d71

Browse files
author
Fmar
committed
add fly volume and set DATABASE_URL
1 parent e418e2f commit 8985d71

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fly.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ primary_region = 'fra'
1010

1111
[env]
1212
BASE_URL = 'https://spark-nwc.fly.dev'
13+
DATABASE_URL = 'file:/data/database.db'
1314

1415
[http_service]
1516
internal_port = 3001
@@ -26,6 +27,10 @@ primary_region = 'fra'
2627
method = 'GET'
2728
path = '/ping'
2829

30+
[mounts]
31+
source = "data"
32+
destination = "/data"
33+
2934
[[vm]]
3035
memory = '1gb'
3136
cpu_kind = 'shared'

0 commit comments

Comments
 (0)