-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
33 lines (26 loc) · 756 Bytes
/
fly.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# fly.toml app configuration file generated for aus-grocery-price-database on 2024-07-21T11:16:13+10:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'aus-grocery-price-database'
primary_region = 'syd'
swap_size_mb = 1024
[build]
[build.args]
GO_VERSION = '1.22.5'
[env]
PORT = '8080'
LOCAL_WOOLWORTHS_DB_PATH = '/data/woolworths.db3'
LOCAL_COLES_DB_PATH = '/data/coles.db3'
MAX_PRODUCT_AGE_MINUTES = 360
WOOLWORTHS_URL = 'https://www.woolworths.com.au'
COLES_URL = 'https://www.coles.com.au'
INFLUXDB_UPDATE_RATE_SECONDS = 2
DEBUG_LOGGING = 'true'
[[vm]]
memory_mb = 256
cpu_kind = 'shared'
cpus = 1
[mounts]
source = "local_database"
destination = "/data"