forked from wilqq-the/BTC-Tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker.env.example
More file actions
33 lines (25 loc) · 928 Bytes
/
Copy pathdocker.env.example
File metadata and controls
33 lines (25 loc) · 928 Bytes
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
# ====================================
# BTC Tracker Docker Environment Configuration
# ====================================
# Copy this file to .env in the same directory as docker-compose.yml
# Docker Configuration
# Docker image tag to use (latest, v1.0.0, etc.)
BTC_TRACKER_TAG=latest
# Required: Authentication secret
# Generate with: openssl rand -base64 32
NEXTAUTH_SECRET=your-super-secure-secret-key-here-change-this
# Database Configuration
# SQLite database file location (relative to container)
DATABASE_URL=file:../btc-tracker.db
# NextAuth configuration
NEXTAUTH_URL=http://localhost:3000
# Production environment
NODE_ENV=production
# Optional: Port mapping (host:container)
# Change if port 3000 is already in use
# PORT_MAPPING=3000:3000
# Optional: Enable debug logging
# DEBUG=false
# Optional: Automatic restart policy
# Options: no, on-failure, always, unless-stopped
# RESTART_POLICY=unless-stopped