1# fly.toml file for the Go server
2app = "mast-server"
3kill_signal = "SIGINT"
4kill_timeout = 5
5primary_region = "sea"
6
7[build]
8 dockerfile = "Dockerfile"
9 build-target = "server"
10
11[env]
12
13[http_service]
14 internal_port = 8080
15 force_https = true
16 auto_stop_machines = true
17 auto_start_machines = true
18 min_machines_running = 0
19 processes = ["app"]
20
21[mounts]
22 source = "server_data"
23 destination = "/app/rooms"