-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.sample
44 lines (36 loc) · 2.68 KB
/
.env.sample
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
# General Project Settings
COMPOSE_PROJECT_NAME=app # Name of the Docker compose project, used to namespace container names
ENVIRONMENT=dev # Deployment environment: can be one of local, staging, or production
# OpenAI Settings
WORKDIR=/app # Default working directory for the application
# FastAPI Settings
FASTAPI_PORT=6001 # The port on which the FastAPI server listens (6001 is chosen to avoid conflicts on Macs)
# Security Settings
SECRET_KEY=0c0794abb399d2908c7693719f0539d5b8efed88b68f8fc2b59ba6b289a93978 # A secret key used for encryption, token generation, etc.
ALGORITHM=HS256 # The algorithm used for encoding or decoding JWT tokens
ACCESS_TOKEN_EXPIRE_MINUTES=30 # The expiration time in minutes for the JWT access token
# PostgreSQL Database Settings
POSTGRES_HOST=snuffleupagus.db.elephantsql.com # The hostname or IP address of the PostgreSQL server (mandatory)
POSTGRES_PORT=5432 # The port number on which the PostgreSQL server is running (mandatory)
POSTGRES_USER=jhzdarnv # The username used to connect to the PostgreSQL database (mandatory)
POSTGRES_PASSWORD=D8w-jVpIZhSIqTG1FeISxTW4S1ES9DkB # The password used to connect to the PostgreSQL database (mandatory)
POSTGRES_DB=jhzdarnv # The name of the database to connect to on the PostgreSQL server (mandatory)
# VectorDB Settings (Placeholder for actual settings)
# Additional database or service settings can be added here
# Mail Configuration
[email protected] # Username for the email service account
MAIL_PASSWORD=Admin12345 # Password for the email service account
[email protected] # The email address that will appear in the "From" field of sent emails (prod - mandatory)
MAIL_PORT=465 # Port number for the email server (465 is commonly used for SSL)
MAIL_SERVER=smtp.example.com # Hostname or IP address of the email server
MAIL_STARTTLS=FALSE # Specifies whether to use StartTLS (use TRUE to enable)
MAIL_SSL_TLS=TRUE # Specifies whether to use SSL/TLS for email encryption (use TRUE to enable)
# Traefik Configuration
LETS_ENCRYPT_EMAIL= # Email address to receive Let's Encrypt notifications for SSL certificate management (prod - mandatory)
TRAEFIK_DASHBOARD_URL=traefik.localhost # URL to access the Traefik dashboard (optional)
TRAEFIK_DASHBOARD_USERNAME=admin # Username for Traefik dashboard authentication (optional)
TRAEFIK_DASHBOARD_PASSWORD=Admin12345 # Hashed password for Traefik dashboard authentication (optional)
TRAEFIK_BACKEND_URL=backend.localhost # URL where external services can connect and communicate with the API (mandatory)
TRAEFIK_FRONTEND_URL=localhost # URL where the frontend service will be accessible (mandatory)
SLACK_CLIENT_ID= # Slack client id
SLACK_CLIENT_SECRET= # Slack client secret