-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
35 lines (30 loc) · 1.1 KB
/
Copy pathfly.toml
File metadata and controls
35 lines (30 loc) · 1.1 KB
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
app = "agentsync"
primary_region = "ewr"
[build]
# Startup-time configuration. AGENTSYNC_VAULT_NAME is the human-readable
# vault name written into config.toml on first launch (used by clients as
# the default local dir when running `agentsync clone <url>`).
# AGENTSYNC_AUTHORIZED_KEYS is read directly by `agentsync watch` and merged
# into the synced authorized_keys file on every start — store actual keys
# as a Fly secret rather than here, e.g.:
# fly secrets set AGENTSYNC_AUTHORIZED_KEYS="$(cat ~/.agentsync/id_ed25519.pub)"
[env]
AGENTSYNC_VAULT_NAME = "vault"
AGENTSYNC_CWD = "/mnt/workspace"
# Fly's [http_service] terminates TLS at the edge and forwards plain
# HTTP/WS to internal_port — so the in-container hub binds plain WS and
# lets the edge handle TLS. Clients still connect via wss://.
AGENTSYNC_NO_TLS = "1"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "off"
auto_start_machines = true
min_machines_running = 1
[[mounts]]
source = "agentsync_data"
destination = "/mnt/workspace"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 512