-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.frontend.yml
More file actions
43 lines (41 loc) · 1.41 KB
/
docker-compose.frontend.yml
File metadata and controls
43 lines (41 loc) · 1.41 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
# Starts Fynd router + swap frontend.
#
# Usage:
# export TYCHO_API_KEY=your-api-key
# docker compose -f docker-compose.frontend.yml up
# Open http://localhost:3005
#
# Required env vars (set in .env or export before running):
# TYCHO_API_KEY — Tycho API key (https://t.me/fynd_portal_bot)
#
# Optional env vars:
# CHAIN — chain name (default: Ethereum)
# PROTOCOLS — comma-separated protocol list (default: mainnet preset)
# TYCHO_URL — Tycho WebSocket endpoint (default: tycho-fynd-ethereum.propellerheads.xyz)
# RUST_LOG — tracing filter (default: fynd=info)
services:
fynd-serve:
image: ghcr.io/propeller-heads/fynd:latest
entrypoint: ["/usr/local/bin/fynd"]
command:
- serve
- "--chain"
- "${CHAIN:-Ethereum}"
- "--protocols"
- "${PROTOCOLS:-uniswap_v2,uniswap_v3,ekubo_v2,pancakeswap_v3,sushiswap_v2,fluid_v1,pancakeswap_v2}"
ports:
- "3000:3000"
environment:
- TYCHO_API_KEY=${TYCHO_API_KEY}
- TYCHO_URL=${TYCHO_URL:-tycho-fynd-ethereum.propellerheads.xyz}
- RUST_LOG=${RUST_LOG:-fynd=info}
fynd-frontend:
image: ghcr.io/propeller-heads/fynd-frontend:latest
ports:
- "3005:3005"
environment:
- PATHFINDER_BASE_URL=http://fynd-serve:3000
- TYCHO_AUTH_TOKEN=${TYCHO_API_KEY}
- TYCHO_BASE_URL=${TYCHO_BASE_URL:-https://tycho-beta.propellerheads.xyz}
depends_on:
- fynd-serve