This repository was archived by the owner on Mar 24, 2026. It is now read-only.
forked from latitude-dev/latitude-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
75 lines (63 loc) · 2.32 KB
/
.env.example
File metadata and controls
75 lines (63 loc) · 2.32 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
# Environment
NODE_ENV=production
# Traefik
TRAEFIK_HOST=traefik.${APP_DOMAIN}
TRAEFIK_ACME_EMAIL=your@email.com
# Passwords must be hashed using MD5, SHA1, or BCrypt. Read more: https://doc.traefik.io/traefik/middlewares/http/basicauth/
# Example command to generate a password for user admin: echo $(htpasswd -nb admin password) | sed -e s/\\$/\\$\\$/g
TRAEFIK_ADMIN_PASS="your_secure_password"
# Database
POSTGRES_USER=latitude
POSTGRES_PASSWORD=secret
DATABASE_URL=postgresql://latitude:secret@db:5432/latitude_production
# Redis
QUEUE_PORT=6379
QUEUE_HOST=redis
CACHE_PORT=6379
CACHE_HOST=redis
# Gateway Configuration
GATEWAY_BIND_ADDRESS=localhost
GATEWAY_BIND_PORT=8787
GATEWAY_HOSTNAME=gateway # e.g gateway.latitude.so
GATEWAY_PORT=8080
GATEWAY_SSL=false
# Networking
APP_DOMAIN=latitude.localhost # e.g latitude.so
APP_URL=http://app.latitude.localhost # e.g https://app.latitude.so
# Websockets
WEBSOCKETS_SERVER=http://websockets
WEBSOCKETS_SERVER_PORT=8080
WEBSOCKET_REFRESH_SECRET_TOKEN_KEY=websocket-refresh-secret-token
WEBSOCKET_SECRET_TOKEN_KEY=websocket-secret-token
# Email Configuration
FROM_MAILER_EMAIL=hello@latitude.localhost # e.g hello@latitude.so
MAILGUN_EMAIL_DOMAIN=latitude.localhost # e.g email.latitude.so
MAILGUN_MAILER_API_KEY= # (optional)
MAILGUN_HOST=api.eu.mailgun.net # (optional)
MAILGUN_PROTOCOL=https # (optional)
# Sentry (optional)
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_AUTH_TOKEN=
SENTRY_DSN=
SENTRY_ORG=
SENTRY_PROJECT=
# File storage
# NOTE: In docker environment "local" strategy will not work out of the box since
# multiple containers would need to have access to the same local disk. You can use "s3" strategy instead
# or set up a shared volume and point the public files path to it.
DRIVE_DISK=local # options: local, s3
# Paths for local storage (optional)
FILE_STORAGE_ROOT_PATH="/app/storage/files" # e.g /app/storage/files
FILE_PUBLIC_PATH="files" # e.g files
FILES_STORAGE_PATH="/app/storage/files" # e.g /app/storage/files
PUBLIC_FILES_STORAGE_PATH="/app/apps/web/public/files" # e.g /app/storage/public/files (IMPORTANT: has to be in nextjs's public folder)
# AWS S3 (optional)
# If you are using AWS IAM roles, you can skip AWS_ACCESS_KEY and AWS_ACCESS_SECRET
ASW_REGION=
AWS_ACCESS_KEY=
AWS_ACCESS_SECRET=
PUBLIC_S3_BUCKET=
S3_BUCKET=
# Analytics (optional)
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=