forked from NdoleStudio/httpsms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.docker
More file actions
75 lines (56 loc) · 2.65 KB
/
Copy path.env.docker
File metadata and controls
75 lines (56 loc) · 2.65 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
ENV=local
# This is the project-id of the firebase project you created in the setup instructions
GCP_PROJECT_ID=httpsms-docker
USE_HTTP_LOGGER=true
# Set to "true" to enable feature entitlement checks (limits for free users).
# Defaults to "false" for self-hosted deployments (no limits).
ENTITLEMENT_ENABLED=false
EVENTS_QUEUE_TYPE=emulator
EVENTS_QUEUE_NAME=events-local
EVENTS_QUEUE_ENDPOINT=http://localhost:8000/v1/events
# This is the user API key for the system admin user that is used to authenticate requests to the /v1/events endpoint
# You need to create a system user in the `users` table in your database and put the API key and ID of this user here
EVENTS_QUEUE_USER_API_KEY=system-user-api-key
EVENTS_QUEUE_USER_ID=system-user-id
# This is the actual conetnt of your service account firebase-credentials.json file that you downloaded in the setup instructions
# e.g FIREBASE_CREDENTIALS='{ "type": "service_account", "project_id": "httpsms-docker", "private_key_id":.....
FIREBASE_CREDENTIALS=
# This is the from name for your emails
SMTP_FROM_NAME=httpSMS
# This is the address where your email messages should come from. You should make sure this matches what is configured on your SMTP service
SMTP_FROM_EMAIL=httpsms@local.com
# These are the credentials for your SMTP email service
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_HOST=smtp.mailtrap.io
SMTP_PORT=2525
# This is the URL of the application UI and it's used to generate links in emails
APP_URL=http://localhost:3000
# The name of the application you can set it to whatever you like
APP_NAME=httpSMS
# This is the port where the API server will run on
APP_PORT=8000
# Host for the swagger UI
SWAGGER_HOST=localhost:8000
# Postgresql Database connection string
DATABASE_URL=postgresql://dbusername:dbpassword@postgres:5432/httpsms
DATABASE_URL_DEDICATED=postgresql://dbusername:dbpassword@postgres:5432/httpsms
# Redis connection string
REDIS_URL=redis://@redis:6379
# Google Cloud Storage bucket for MMS attachments. Leave empty to use in-memory storage.
GCS_BUCKET_NAME=
# [Optional] Axiom observability configuration
# API token for Axiom (required for logging, traces, and metrics in production)
AXIOM_TOKEN=
# Dataset for logs and traces (e.g. "events")
AXIOM_DATASET_EVENTS=
# Dataset for metrics (e.g. "metrics")
AXIOM_DATASET_METRICS=
# [optional] Websocket configuration for https://pusher.com if you will like to frontend to update in real time
PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=
PUSHER_CLUSTER=
# Cloudflare Turnstile secret key for validating captcha tokens on the /v1/messages/search route
# Get your secret key at https://developers.cloudflare.com/turnstile/get-started/
CLOUDFLARE_TURNSTILE_SECRET_KEY=