🎉 initial commit
This commit is contained in:
24
.env.example
Normal file
24
.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user