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
33
34
# The one Fly config, for the two demo apps: the app main deploys (the
# deploy job in .github/workflows/ci.yml) and the per-PR previews (the
# review-app action in .github/workflows/preview.yml, which overrides
# the app name with the PR's). Both build the image here with the `dev`
# feature: fixture data instead of JMAP, and a stand-in identity in place
# of the identity headers that Caddy (caddy-tailscale) supplies in front
# of the real deployment. The release image leaves the feature out, so
# the demos can't run it. No volume, so every deploy starts from the
# fixtures again.
#
# The app name is Fly's, not GitHub's, so it has to be unique across all
# of Fly and a taken one fails the deploy. ci.yml spells it twice more,
# as FLY_APP to create it on the first deploy and in the environment's
# URL, so a rename here is a rename in three places.
app = 'docket-kejadlen'
primary_region = 'sjc'
[build.args]
FEATURES = 'dev'
[env]
DOCKET_CONFIG = '/etc/docket.kdl'
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
[[vm]]
memory = '256mb'
cpu_kind = 'shared'
cpus = 1