Skip to content

Commit 18c32a8

Browse files
committed
fix: attempt to get staging env running again
1 parent cdcd23d commit 18c32a8

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: DeterminateSystems/nix-installer-action@main
1515
- uses: superfly/flyctl-actions/setup-flyctl@master
16-
- run: docker load -i $(nix build ".#grid-container" -L --no-link --print-out-paths) && flyctl deploy --local-only --detach
16+
- run: docker load -i $(nix build ".#grid-container" -L --no-link --print-out-paths) && flyctl deploy -c fly/app.toml --local-only --detach
1717
env:
1818
FLY_API_TOKEN: ${{ secrets.FLY_DEPLOY_TOKEN }}

fly.toml renamed to fly/app.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@ min_machines_running = 0
1313
# axum is http2-enabled
1414
http_options.h2_backend = true
1515

16+
[env]
17+
GRID_ENV = "staging"
18+
RUST_LOG = "info,grid=debug,domain=debug,tower_http=debug"
19+
1620
[[vm]]
1721
size = 'shared-cpu-1x'

fly/quickwit.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# fly.toml app configuration file generated for quickwit-misty-moon-5123 on 2025-12-01T21:20:45-08:00
2+
#
3+
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4+
#
5+
6+
app = 'quickwit-misty-moon-5123'
7+
primary_region = 'iad'
8+
9+
[build]
10+
image = 'quickwit/quickwit:latest'
11+
12+
[experimental]
13+
cmd = [ "run" ]
14+
15+
[env]
16+
# Required secrets:
17+
# - AWS_ACCESS_KEY_ID (R2 access key)
18+
# - AWS_SECRET_ACCESS_KEY (R2 secret key)
19+
# - AWS_ENDPOINT_URL (R2 endpoint)
20+
AWS_REGION = 'auto'
21+
QW_CLUSTER_ID = 'quickwit-cluster'
22+
QW_DATA_DIR = '/quickwit/qwdata'
23+
QW_DEFAULT_INDEX_ROOT_URI = 's3://rambit-quickwit/indexes'
24+
QW_LISTEN_ADDRESS = '::'
25+
QW_NODE_ID = 'node-1'
26+
27+
[[mounts]]
28+
destination = '/quickwit/qwdata'
29+
initial_size = '10gb'
30+
source = 'quickwit_data'
31+
32+
[[vm]]
33+
cpu_kind = 'shared'
34+
cpus = 2
35+
memory = '2gb'

0 commit comments

Comments
 (0)