-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfly.toml
More file actions
66 lines (52 loc) · 1.63 KB
/
Copy pathfly.toml
File metadata and controls
66 lines (52 loc) · 1.63 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# fly.toml app configuration file generated for swarm-relay on 2025-12-21T09:15:48Z
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'swarm-relay'
primary_region = 'sjc'
[build]
dockerfile = "Dockerfile"
# Set DATABASE_URL as a secret: fly secrets set DATABASE_URL='postgres://...'
[env]
# Required
RELAY_NAME = "Swarm Relay"
RELAY_PUBKEY = "8ad8f1f78c8e11966242e28a7ca15c936b23a999d5fb91bfe4e4472e2d6eaf55"
RELAY_DESCRIPTION = "Team Nostr relay"
# Database
DB_ENGINE = "postgres"
# DB_PATH = "db/" # Only for badger/lmdb
# Optional domains (leave empty to use local public/.well-known/nostr.json)
# TEAM_DOMAIN = ""
NPUB_DOMAIN = ""
# Server
RELAY_PORT = "3334"
# Blossom file storage
BLOSSOM_ENABLED = "true"
# BLOSSOM_PATH = "blossom/"
# BLOSSOM_URL = "http://localhost:3334"
# WebSocket URL (for frontend)
# WEBSOCKET_URL = "wss://swarm-relay.fly.dev"
# Kind filtering
# ALLOWED_KINDS: blank = allow all kinds for team members
# PUBLIC_ALLOWED_KINDS: blank = public cannot post, only team members
ALLOWED_KINDS = ""
PUBLIC_ALLOWED_KINDS = ""
# Trusted client override (set TRUSTED_CLIENT_KINDS="all" to allow any kind)
TRUSTED_CLIENT_NAME = ""
TRUSTED_CLIENT_KINDS = ""
# Upload limits
MAX_UPLOAD_SIZE_MB = "200"
# Mirror endpoint (blank = disabled)
ALLOWED_MIRROR_HOSTS = ""
[http_service]
internal_port = 3334
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
memory_mb = 1024