Skip to content

Commit

Permalink
fix: add fly deployment (#325)
Browse files Browse the repository at this point in the history
gbbirkisson authored Nov 29, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent ac947d4 commit aba8337
Showing 2 changed files with 29 additions and 1 deletion.
22 changes: 22 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
app = 'spis'
primary_region = 'arn'

[build]
image = 'ghcr.io/gbbirkisson/spis:v0.9.0' # x-release-please-version

[env]
PORT = '8080'
SPIS_MEDIA_FETCH_STOCK = '100'

[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
processes = ['app']

[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
8 changes: 7 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,13 @@
"extra-label": "release",
"packages": {
".": {
"release-type": "rust"
"release-type": "rust",
"extra-files": [
{
"type": "generic",
"path": "fly.toml"
}
]
}
}
}

0 comments on commit aba8337

Please sign in to comment.