Skip to content

Commit f2de5b6

Browse files
authored
docs: add frontend/.env.local.example with NEXT_PUBLIC_API_URL
1 parent 2e439d7 commit f2de5b6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

frontend/.env.local.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copy this file to .env.local and fill in your values
2+
# cp .env.local.example .env.local
3+
4+
# Backend API URL (used by Next.js dashboard to fetch logs and predictions)
5+
# For local development:
6+
NEXT_PUBLIC_API_URL=http://localhost:8000
7+
8+
# For Docker Compose:
9+
# NEXT_PUBLIC_API_URL=http://backend:8000
10+
11+
# For production deployment (replace with your actual backend URL):
12+
# NEXT_PUBLIC_API_URL=https://your-backend-domain.com

0 commit comments

Comments
 (0)