-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
95 lines (87 loc) · 4.66 KB
/
.env.example
File metadata and controls
95 lines (87 loc) · 4.66 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# Fast Marketplace deployment env examples.
# This is the single source of example env for all repo-managed instances.
# Copy only the section that applies to the server you are configuring.
# ============================================================================
# API INSTANCE (apps/api)
# ============================================================================
DATABASE_URL=postgres://postgres:postgres@postgres:5432/fast_marketplace
MARKETPLACE_TREASURY_ADDRESS=fast1replace_me
MARKETPLACE_FACILITATOR_URL=https://fastfacilitator.example.com
MARKETPLACE_SESSION_SECRET=replace-with-long-random-session-secret
MARKETPLACE_ADMIN_TOKEN=replace-with-long-random-admin-token
MARKETPLACE_SECRETS_KEY=replace-with-long-random-secrets-key
MARKETPLACE_FAST_NETWORK=mainnet
MARKETPLACE_BASE_URL=https://api.marketplace.fast.xyz
MARKETPLACE_WEB_BASE_URL=https://marketplace.fast.xyz
PORT=3000
# Optional on API when refund support is enabled in-process:
# MARKETPLACE_TREASURY_PRIVATE_KEY=<fast-ed25519-private-key-hex>
# MARKETPLACE_TREASURY_KEYFILE=/run/secrets/marketplace-treasury.key
# FAST_RPC_URL=https://api.fast.xyz/proxy
# Optional on API for marketplace-paid upstream Base x402 requests:
# MARKETPLACE_UPSTREAM_EVM_PRIVATE_KEY=0xreplace_me
# MARKETPLACE_UPSTREAM_EVM_ADDRESS=0xreplace_me
# MARKETPLACE_UPSTREAM_X402_VERBOSE=false
# ============================================================================
# WORKER INSTANCE (apps/worker)
# ============================================================================
# Reuse the same DATABASE_URL, MARKETPLACE_SECRETS_KEY, and MARKETPLACE_FAST_NETWORK
# values from the API instance.
# DATABASE_URL=postgres://postgres:postgres@postgres:5432/fast_marketplace
MARKETPLACE_TREASURY_PRIVATE_KEY=<fast-ed25519-private-key-hex>
# MARKETPLACE_TREASURY_KEYFILE=/run/secrets/marketplace-treasury.key
# MARKETPLACE_SECRETS_KEY=replace-with-long-random-secrets-key
# MARKETPLACE_FAST_NETWORK=mainnet
FAST_RPC_URL=https://api.fast.xyz/proxy
WORKER_POLL_INTERVAL_MS=5000
# Required on worker when async polling may hit upstream Base x402 endpoints:
# MARKETPLACE_UPSTREAM_EVM_PRIVATE_KEY=0xreplace_me
# MARKETPLACE_UPSTREAM_EVM_ADDRESS=0xreplace_me
# MARKETPLACE_UPSTREAM_X402_VERBOSE=false
# ============================================================================
# WEB INSTANCE (apps/web)
# ============================================================================
MARKETPLACE_API_BASE_URL=https://api.marketplace.fast.xyz
NEXT_PUBLIC_MARKETPLACE_API_BASE_URL=https://api.marketplace.fast.xyz
MARKETPLACE_WEB_BASE_URL=https://marketplace.fast.xyz
# Reuse the same admin token and network value from the API instance.
# MARKETPLACE_ADMIN_TOKEN=replace-with-long-random-admin-token
# MARKETPLACE_FAST_NETWORK=mainnet
# PORT=3000
# ============================================================================
# FACILITATOR INSTANCE (apps/facilitator)
# ============================================================================
FACILITATOR_PORT=4020
FACILITATOR_FAST_RPC_URL=https://api.fast.xyz/proxy
# Optional:
# FACILITATOR_EVM_PRIVATE_KEY=0xreplace_me
# ============================================================================
# APIFY SERVICE INSTANCE TEMPLATE (apps/apify-service)
# Deploy one server per actor with different values below.
# ============================================================================
APIFY_API_TOKEN=apify_api_replace_me
APIFY_ACTOR_ID=apify/instagram-scraper
APIFY_API_BASE_URL=https://api.apify.com/v2
APIFY_SERVICE_NAME=Instagram Scraper Proxy
APIFY_SERVICE_DESCRIPTION=Run the Instagram Scraper actor through a marketplace-hosted async proxy.
APIFY_SERVICE_PORT=4040
MARKETPLACE_VERIFICATION_TOKEN=replace-with-issued-marketplace-verification-token
APIFY_DEFAULT_POLL_AFTER_MS=5000
APIFY_DATASET_ITEM_LIMIT=100
# ============================================================================
# TAVILY SERVICE INSTANCE TEMPLATE (apps/tavily-service)
# ============================================================================
TAVILY_API_KEY=tvly-replace_me
TAVILY_API_BASE_URL=https://api.tavily.com
TAVILY_SERVICE_PORT=4030
# Reuse MARKETPLACE_VERIFICATION_TOKEN if this service is being verified:
# MARKETPLACE_VERIFICATION_TOKEN=replace-with-issued-marketplace-verification-token
# ============================================================================
# LOCAL-ONLY TOOLS (not deployed as a server from this repo)
# ============================================================================
# CLI / local agent runner:
AGENT_WALLET_KEY=<fast-ed25519-private-key-hex>
# MARKETPLACE_API_BASE_URL=http://localhost:3000
# MARKETPLACE_FAST_NETWORK=mainnet
# fast-pay-mcp local stdio server:
# FAST_MARKETPLACE_CONFIG=/absolute/path/to/config.json