-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
58 lines (48 loc) · 1.04 KB
/
.env.example
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Core application configuration
DEBUG=false
PORT=80
LOG_FILE=""
SERVER_NAME="localhost"
PROTOCOL="http"
# Auth endpoint
AUTH="http://localhost:8082/auth/"
# Client application (file path or url)
CLIENT="http://localhost:3000"
# API endpoints
ENDPOINT_USERS="users"
ENDPOINT_ACTIVITIES="activities"
ENDPOINT_OBJECTS="objects"
ENDPOINT_INBOX="feed"
ENDPOINT_INBOX="inbox"
ENDPOINT_OUTBOX="outbox"
ENDPOINT_FOLLOWERS="followers"
ENDPOINT_FOLLOWING="following"
ENDPOINT_LIKED="liked"
ENDPOINT_UPLOAD_MEDIA="endpoints/uploadMedia"
ENDPOINT_UPLOADS="uploads"
ENDPOINT_LINKS="links"
ENDPOINT_CHECK="check"
# Uploads
UPLOAD_DIR = "./uploads/"
# Database
DB_HOST="localhost"
DB_PORT=5432
DB_NAME="database"
DB_USER="user"
DB_PASSWORD="password"
# SSL
SSL_CERT=""
SSL_KEY=""
# RSA
RSA_PUBLIC_KEY="public.pem"
RSA_PRIVATE_KEY="private.pem"
# Redis
REDIS_HOST="localhost"
REDIS_PORT=6379
REDIS_PASSWORD="password"
REDIS_DB=0
REDIS_EXP_SECONDS=3600
# Allow origins
ALLOWED_ORIGINS="http://localhost:3000,http://127.0.0.1:3000"
# Collection page length
PAGE_LENGTH=10