25 lines
540 B
Plaintext
25 lines
540 B
Plaintext
# Copy this file to .env and fill in values. Never commit .env to version control.
|
|
# Used by: docker-compose (when env_file is set), local development
|
|
|
|
# API
|
|
API_PORT=8080
|
|
|
|
# PostgreSQL (used by API and worker)
|
|
DB_HOST=postgres
|
|
DB_PORT=5432
|
|
DB_NAME=handheld_devices
|
|
DB_USER=devices_user
|
|
DB_PASSWORD=your_db_password_here
|
|
|
|
# Redis
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|
|
# Frontend (browser connects to API)
|
|
API_URL=http://localhost:8080
|
|
|
|
# Optional: DB pool and timeouts
|
|
# DB_POOL_SIZE=10
|
|
# DB_CONNECT_TIMEOUT_MS=5000
|
|
# DB_QUERY_TIMEOUT_MS=10000
|