21 lines
325 B
Bash
21 lines
325 B
Bash
# Server
|
|
SERVER_PORT=9000
|
|
BASE_URL=http://localhost:9000
|
|
|
|
#Database
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=postgres
|
|
DB_PASSWORD=SALEH@url-shortner
|
|
DB_NAME=urlshortner
|
|
DB_SSLMODE=disable
|
|
|
|
|
|
# Redis
|
|
REDIS_ADDR=localhost:6378
|
|
REDIS_PASSWORD=SALEH@url-shortner
|
|
REDIS_DB=0
|
|
|
|
# App
|
|
DEFAULT_EXPIREY_HOURS=720
|
|
API_KEY=my-secret-api-key |