-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (32 loc) · 1.59 KB
/
Copy path.env.example
File metadata and controls
40 lines (32 loc) · 1.59 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
# PostgreSQL
POSTGRES_USER=avian
POSTGRES_PASSWORD=change_me
POSTGRES_DB=avian_psbt
# DATABASE_URL — override if using an external PostgreSQL instance (not the Docker Compose managed one).
# When using Docker Compose, this is constructed automatically from POSTGRES_* vars above.
# Uncomment and set if your Postgres is running on the host or another server:
# DATABASE_URL=postgresql://avian:change_me@192.168.1.x:5432/avian_psbt
# REDIS_URL — override if using an external Redis instance.
# When using Docker Compose, defaults to redis://redis:6379.
# Uncomment and set if your Redis is running on the host or another server.
# Append /<db_number> to use a specific Redis database (default is 0):
# REDIS_URL=redis://192.168.1.x:6379/1
# JWT (generate with: openssl rand -hex 32)
JWT_SECRET=change_me
JWT_EXPIRES_IN=24h
# Avian Core RPC
# URL is set automatically to http://avian-node:7896 inside Docker
AVIAN_RPC_USER=avianrpc
AVIAN_RPC_PASS=change_me
AVIAN_RPC_WALLET=
# Cloudflare Tunnel token
# Create at https://one.dash.cloudflare.com → Zero Trust → Networks → Tunnels
CLOUDFLARE_TUNNEL_TOKEN=change_me
# Public URLs (used for CORS, Next.js API calls, and build-time NEXT_PUBLIC_* baking)
WEB_URL=https://yourdomain.com
API_URL=https://api.yourdomain.com
# IPFS image cache directory — shared between the API (serves files) and indexer (downloads files).
# In Docker this is set automatically to /app/uploads (the shared uploads_data volume).
# In local dev, point both services at the API's uploads folder:
# UPLOADS_DIR=/absolute/path/to/apps/api/uploads
UPLOADS_DIR=/absolute/path/to/apps/api/uploads