Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
60 lines (53 loc) · 2.27 KB
/
Copy path.env.example
File metadata and controls
60 lines (53 loc) · 2.27 KB
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
# Copy this file to .env and fill in real values. Never commit .env itself.
DB_HOST=host
DB_NAME=name
DB_PORT=number
DB_USERNAME=postgres.your-project-ref
DB_PASSWORD=your-password-here
DB_DRIVER=database type
CASSANDRA_DB_HOST=YOUR_ASTRA_DB_ID-YOUR_REGION.db.astra.datastax.com
CASSANDRA_DB_NAME=chatterloop
CASSANDRA_DB_KEYSPACE=chatterloop
CASSANDRA_DB_PORT=29080
CASSANDRA_DB_USERNAME=YOUR_ASTRA_CLIENT_ID
CASSANDRA_DB_PASSWORD=YOUR_ASTRA_CLIENT_SECRET
CASSANDRA_DB_TOKEN=AstraCS:YOUR_CLIENT_ID:YOUR_GENERATED_SECRET_TOKEN
CASSANDRA_DB_BUNDLE=secure-connect-chatterloop.zip
CASSANDRA_DB_ENDPOINT=https://YOUR_ASTRA_DB_ID-YOUR_REGION.apps.astra.datastax.com
RABBITMQ_PROTOCOL=amqps
RABBITMQ_USER=vhost
RABBITMQ_PASS=pass
RABBITMQ_HOST=host
RABBITMQ_PORT=number
RABBITMQ_VHOST=vhost
EMAIL_HOST=<same value as user_service>
EMAIL_PORT=587
EMAIL_PASSWORD=<the JWT_TOKEN value — Django uses it as the SMTP password>
MONGODB_CLUSTER_HOST=YOUR_CLUSTER.xxxxx.mongodb.net
MONGODB_CLUSTER_USER=YOUR_MONGO_USER
MONGODB_CLUSTER_PASS=YOUR_MONGO_PASSWORD
MONGODB_DB=chatterloop
FIREBASE_PROJECT_ID=your-firebase-project-id
FIREBASE_CLIENT_EMAIL=firebase-adminsdk-xxxxx@your-project.iam.gserviceaccount.com
FIREBASE_PRIVATE_KEY='{"privateKey": "-----BEGIN PRIVATE KEY-----\nYOUR_KEY_BODY\n-----END PRIVATE KEY-----\n"}'
# Optional. Carries the realtime frame a built-in command's answer is
# announced with. Unset, the worker still boots and every other queue works -
# a command reply is stored but only appears when the client refreshes.
REDIS_HOST=your-redis-host
REDIS_PORT=6379
REDIS_USERNAME=
REDIS_PASSWORD=your-redis-password
# File storage - the same bucket and values as the Node server. The worker
# deletes files whose post / comment / message was deleted, and what
# cron_service's media_cleanup sweep finds (internal/services/media).
# STORAGE_* names work too and win over SPACES_* - use them when moving
# to another S3-compatible provider.
STORAGE_PROVIDER=digitalocean
SPACES_REGION=us-east-1
SPACES_BUCKET=your-bucket-name
SPACES_ENDPOINT=https://sgp1.digitaloceanspaces.com
SPACES_CDN_ENDPOINT=sgp1.cdn.digitaloceanspaces.com
SPACES_KEY=YOUR_SPACES_ACCESS_KEY
SPACES_SECRET=YOUR_SPACES_SECRET_KEY
# Our media domain - links on it are recognised as ours.
STORAGE_PUBLIC_BASE_URL=https://media.neonsystems.net