1
0
Fork 1
mirror of https://github.com/0x2E/fusion.git synced 2025-06-08 05:27:15 +09:00
fusion/fly.toml
Yuan 6a4e99d0fa
update CI (#163)
* cross-compile in ci

* build docker image for main branch

* default to github registry
2025-04-30 22:52:09 +08:00

30 lines
561 B
TOML

# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "{APP_NAME}"
# https://fly.io/docs/reference/regions/#fly-io-regions
primary_region = "{REGION}"
[build]
image = 'ghcr.io/0x2e/fusion:latest'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = false
[[vm]]
size = 'shared-cpu-1x'
memory = '256mb'
[env]
PASSWORD = "{YOUR_PASSWORD}"
HOST = "127.0.0.1"
DB = "/data/fusion.db"
[mounts]
source = "fusion_data"
destination = "/data"
initial_size = "1GB"