-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 1.2 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
version: '3.8'
services:
# Main application with all services
ethglobal-app:
build: .
ports:
- "3000:3000" # Next.js frontend
- "3003:3003" # Vault backend
- "8001:8001" # Python agent
environment:
# Flow Configuration
- NEXT_PUBLIC_FLOW_NETWORK=testnet
- NEXT_PUBLIC_ACCESS_NODE_URL=https://rest-testnet.onflow.org
- NEXT_PUBLIC_DISCOVERY_WALLET=https://fcl-discovery.onflow.org/testnet/authn
- NEXT_PUBLIC_DISCOVERY_AUTHN_ENDPOINT=https://fcl-discovery.onflow.org/testnet/authn
- NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=2f5a5eba86e7e893eb6c92170c026fbb
# Add your OpenAI API key here
- OPENAI_API_KEY=${OPENAI_API_KEY:-your_openai_api_key_here}
# Backend configuration
- RPC_URL=https://mainnet.evm.nodes.onflow.org
- PRIVATE_KEY=${PRIVATE_KEY:-}
# volumes:
# You can mount additional configuration files here if needed
# - ./.env.local:/app/ai-agent-frontend/.env.local:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
default:
name: ethglobal-network