[READ-ONLY] Mirror of https://github.com/mrgnw/editable-cv.
749 B
31 lines
1# fly.toml app configuration file generated for postowldev on 2023-06-12T17:45:42+01:00
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6# 'app' can be overridden at deploy time with `fly deploy -a yourappname`
7app = "myapp"
8primary_region = "cdg"
9
10# Specify the multistage Docker build target
11[build]
12 build-target = "runner"
13
14# Override the CMD set in Dockerfile so we can migrate the SQLite database
15[experimental]
16 cmd = ["fly-start.sh"]
17 entrypoint = ["sh"]
18
19[env]
20 PORT = "3000"
21
22[[mounts]]
23 source = "myapp_data"
24 destination = "/app/data"
25
26[http_service]
27 internal_port = 3000
28 force_https = true
29 auto_stop_machines = false
30 auto_start_machines = true
31 min_machines_running = 0