-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 1.72 KB
/
docker-compose.yml
File metadata and controls
49 lines (47 loc) · 1.72 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
services:
# ============================================
# Unified Arda Platform (3000)
# Serves all functionality in a single app
#
# NOTE: Currently running Vite dev server for demos
# This enables large file uploads (up to 1GB) through the proxy
# TODO: Switch to production build before production deployment
# ============================================
platform:
build:
context: .
dockerfile: Dockerfile
container_name: arda-platform
ports:
- "3000:3000"
networks:
- arda-network
restart: unless-stopped
environment:
# Environment configuration for Vite proxy targets and runtime
# These env vars are used by vite.config.ts to configure proxy routing
# Application code uses service-prefixed paths (/server, /chat, /ingestion, /rpc)
- VITE_SERVER_URL=${VITE_SERVER_URL:-http://localhost:8080}
- VITE_CHAT_AGENT_URL=${VITE_CHAT_AGENT_URL:-http://localhost:3002}
- VITE_INGESTION_URL=${VITE_INGESTION_URL:-http://arda-credit_ingest:5678}
- VITE_ETHEREUM_RPC_URL=${VITE_ETHEREUM_RPC_URL:-http://127.0.0.1:8545}
- VITE_SERVER_ENVIRONMENT=${VITE_SERVER_ENVIRONMENT:-development}
# NOTE: Running in dev mode enables large file uploads through Vite proxy
env_file:
- .env
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
arda-network:
driver: bridge
name: arda-network
# ============================================
# Volume Configuration (Optional)
# ============================================
# Uncomment if you need persistent storage
# volumes:
# platform-data: