forked from Txio-labs/txio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (35 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
39 lines (35 loc) · 1.58 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
# MongoDB
# Root credentials are required by docker-compose (`mongod --auth`) and must match
# the user:password embedded in MONGO_URI below. Mongo is started by Compose using
# MONGO_INITDB_ROOT_* from this file; the API reads MONGO_URI from this same file at
# runtime (see config.rs), so the username and password only need to be set once.
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=change_me_in_prod
# The `mongodb` hostname only resolves inside the Docker Compose network; when
# running the API directly via `cargo run`, point this at your local Mongo.
MONGO_URI=mongodb://root:change_me_in_prod@mongodb:27017/txio?authSource=admin
# API
RUST_LOG=info
JWT_SECRET=your_jwt_secret_here
BREVO_API_KEY=your_brevo_api_key_here
# Optional, comma-separated allowlist of user emails permitted to call the
# admin endpoints (/api/v1/admin/*) used by `txio db ...`. Leave unset to
# disable admin access entirely. Never distributed to the CLI — this is
# server-side config only.
ADMIN_EMAILS=
# Sender for OTP emails. Must be a verified sender/domain in your Brevo account.
EMAIL_FROM=no-reply@txio-backend.com
EMAIL_FROM_NAME=txio Team
GROQ_API_KEYS=your_first_groq_key,your_second_groq_key
GROQ_MODEL=llama-3.3-70b-versatile
PORT=8000
FRONTEND_URL=http://localhost:3000
API_URL=http://localhost:8000
# Google OAuth (optional; required only for "Sign in with Google")
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_REDIRECT_URL=http://localhost:8000/api/v1/auth/google/callback
# Frontend
NEXT_PUBLIC_API_URL=http://localhost:8000/api/v1
# Desktop
VITE_RPC_URL=https://fullnode.mainnet.sui.io:443