-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 1.43 KB
/
.env.example
File metadata and controls
35 lines (28 loc) · 1.43 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
# Server Configuration
PORT=3000
NODE_ENV=development
# Provider Selection (MOCK, SIMULATION, or REMOTE)
# - MOCK: Static mock data for development/demo (no Docker needed)
# - SIMULATION: Dynamic simulation with realistic generated logs
# - REMOTE: Connect to real Docker API
PROVIDER=MOCK
# Remote Docker Configuration (only needed when PROVIDER=REMOTE)
# Docker API endpoint - enable Docker API on your host:
# Linux: Edit /etc/docker/daemon.json and add: {"hosts": ["unix:///var/run/docker.sock", "tcp://0.0.0.0:2375"]}
DOCKER_HOST=http://localhost:2375
# Optional: Bearer token for Docker API authentication
DOCKER_AUTH_TOKEN=your-token-here
# Required for REMOTE provider: Comma-separated list of allowed CORS origins
ALLOWED_ORIGINS=http://localhost:3000,https://yourdomain.com
# Database (Optional - for saved searches and bookmarks)
# PostgreSQL connection string - used for persistent saved searches and log bookmarks
DATABASE_URL=postgresql://user:password@localhost:5432/containeryard
# Session Secret (auto-generated if not provided)
# Generate a secure random string for production
SESSION_SECRET=your-secret-key-here
# Remote Hosts Configuration
# cAdvisor URLs for remote hosts (CADVISOR_ONLY provider)
PIAPPS2_CADVISOR_URL=http://192.168.50.120:8080
PIAPPS2_DOZZLE_URL=https://container.piapps.dev/dozzle/piapps2
SYNOLOGY_CADVISOR_URL=https://container.piapps.dev/cadvisor/ds920
SYNOLOGY_DOZZLE_URL=https://container.piapps.dev/dozzle/ds920