-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfly.toml
More file actions
36 lines (31 loc) · 784 Bytes
/
fly.toml
File metadata and controls
36 lines (31 loc) · 784 Bytes
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
35
36
app = "bugstore-dev"
primary_region = "ams"
[build]
dockerfile = "Dockerfile"
[env]
PORT = "8080"
# Fly.io single-container: use SQLite (no MariaDB sidecar available)
# For docker-compose deployments, MariaDB is used instead
DATABASE_URL = "sqlite:////data/bugstore.db"
BUGSTORE_WAF_ENABLED = "false"
BUGSTORE_SCORING_ENABLED = "true"
BUGSTORE_DIFFICULTY = "0"
BUGSTORE_AUTO_SEED = "true"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[[mounts]]
source = "bugstore_data"
destination = "/data"
[checks]
[checks.health]
type = "http"
port = 8080
path = "/api/health"
interval = "30s"
timeout = "5s"
method = "GET"