-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
61 lines (49 loc) · 1.4 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
59
60
61
# Debug
DEBUG=1
# PostgreSQL Connection
POSTGRES_USER=malik
POSTGRES_PASSWORD=onroad
POSTGRES_HOST=db
POSTGRES_DB=onroad
# Secret Key
JWT_SECRET_KEY=xx
# Allowed Hosts
ALLOWED_HOSTS=localhost,django
CSRF_TRUSTED_ORIGINS=https://localhost,http://localhost
DOMAIN_NAME=localhost
APP_VERSION=v1.0.0-alpha.1
ADMIN_PASSWORD=onroad
APP_VERSION=v1.0.0-alpha.1
ACCESS_TOKEN_EXPIRATION_MINUTES=43200 # 1 Month (Should be 10-15 minutes in production)
REFRESH_TOKEN_EXPIRATION_MINUTES=259200 # 6 Months (Should be 5-7 days in production )
# Email Config
EMAIL_HOST_USER=xx
EMAIL_HOST_PASSWORD=xx
# Rabbit MQ
RABBITMQ_DEFAULT_USER=onroad
RABBITMQ_DEFAULT_PASS=onroadadmin
RABBITMQ_DEFAULT_VHOST=onroad
RABBITMQ_URL=amqp://onroad:onroadadmin@rabbitmq:5672/onroad
# Hasura
HASURA_GRAPHQL_ADMIN_SECRET=onroad
# Google Oauth Env
GOOGLE_CLIENT_ID=xx
GOOGLE_CLIENT_SECRET=xx
# Caddy
TLS=/etc/pki/tls/certs/cert.crt
TLS_KEY=/etc/pki/tls/private/cert.key
RATE_LIMIT=5000r/m # 5000 requests per minute / Only for testing should not be this high in production
# Plausible
PLAUSIBLE_BASE_URL=https://analytics.localhost
PLAUSIBLE_SECRET_KEY_BASE=xx
PLAUSIBLE_POSTGRES_PASSWORD=xx
# Redis Commander
REDIS_COMMANDER_USER=redisadmin
REDIS_COMMANDER_PASSWORD=redis
# Backup Uploader Keys
BACKUP_AWS_ACCESS_KEY_ID=xx
BACKUP_AWS_SECRET_ACCESS_KEY=xx
# AWS S3 Main Uploader Keys
AWS_ACCESS_KEY_ID=xx
AWS_SECRET_ACCESS_KEY=xx
AWS_S3_BUCKET=onroad.one