-
Notifications
You must be signed in to change notification settings - Fork 119
/
.env
102 lines (79 loc) · 3.84 KB
/
.env
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
###### Default settings, override in .env.local file that is auto-generated on install ######
DATABASE_URL=postgresql://magick:magick_default_pw@localhost:5432/magick
SHADOW_DATABASE_URL=postgresql://magick_shadow:magick_shadow_default_pw@localhost:5433/magick_shadow
PORTAL_DATABASE_URL=postgresql://magick:magick_default_pw@localhost:5432/magick?schema=portal
PORTAL_SHADOW_DATABASE_URL=postgresql://magick_shadow:magick_shadow_default_pw@localhost:5433/magick_shadow?schema=portal
# Memory to use for build cache
NODE_OPTIONS="--max-old-space-size=8192"
# Server settings
PAGINATE_DEFAULT=100
PAGINATE_MAX=1000
# Change this in production to something impossible to guess
JWT_SECRET=secret
DUMMY_TOKEN=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..v5i3ZOjE6D6i3np7.9EIC2-3ykdKdBWy7QVJwLrtvVJYUS4dJPclH00lYUQr7zJt157MLvkS5Tkz_XUXlnd9PkF7h2_EiMmyzEJbm8QXXFAtNLEAs76RYuCcPtDtXjC-IMb9-Ag-r8Oxq2x1teuyhmVjBNIOqbaw6Q_Rks9ZABsa5AvDr0eTYicp9eHs8BUYQltb0hXfh6nkuNAybdAsyGcXecgHVTgqLAZ6odT3W3VxOy2BXjZq2bnodF4UkHwrGoVgDxVyGux3FFz6lhGjpuKAbQDQWHyqU9jQWjqDMAw93wggeMskWMcGoyopYTqcC0OXAmPBGKYWqnhhoOkcEa3KOX4tSSbjj5HcxaZMAKBJe-ndu2PvCa4weVdV6QHl0cpyctgWTz4E7SHOYMgQF-JKuFbG4HUfR7YKFwgD9HtwGtnUkoL03N6tI4d1v-KU2uqyz75yF-YSRpDjnNReHmCjqaIXsv4rxck5hqa5ax8d1VuXtMucvxFT3QtZlt0oekhzfcOWrQV3QdNqU7cEX_OJ_10w3jlmzXkIsmZOjQqHTErBciYi3-qCMzFMtGiBYFil4aFdaEVtwsNCTqpo-jpU5VzoVHXz6-06xKRDLxfWI9RJIYdsy5kWe0jGiutSU7y-1Iec21Zk4r8u011zhOMetd6GmYoAv_-IgiZlJWUyWAp4xtv7ZFBSOpkQjqUlnFq_VGZvRcEExIVpQBRMfcUbQh3rh9nKpe0x7IolMka37DYSUP7IJf231HxsEP8zH2Nk3IP9-_eEqx9QH11MYvIDWJrQe8ijZWFzBw3lwkHvAyeB3HstAE5gWqnSEJ2wJeOI9aWhH2qpPLLjJsInvKep98CebyA.Mk1hveE9GqVWzgScFPrLCQ
# Client settings
###### VITE_APP_ variables are used by the client ######
VITE_APP_TRUSTED_PARENT_URL=http://localhost:4000
# Posthog settings
VITE_APP_POSTHOG_ENABLED=false
VITE_APP_POSTHOG_API_KEY=key
POSTHOG_API_KEY=key
VITE_APP_PRODUCTION=false
PRODUCTION=false
VITE_APP_STANDALONE=true
STANDALONE=true
REDISCLOUD_HOST=localhost
REDIS_URL=redis://localhost:6379
# OpenMeter endpoint location
OPENMETER_ENABLED=false
OPENMETER_TOKEN=token
OPENMETER_ENDPOINT=localhost:8888
OPENMETER_SOURCE=magick-local
UNSTRUCTURED_ENDPOINT=https://api.unstructured.io/general/v0/general
# UNSTRUCTURED_KEY=
NEXT_AWS_ACCESS_KEY=key
NEXT_AWS_SECRET_KEY=secret
NEXT_AWS_REGION=region
NEXT_AWS_BUCKET_NAME=magick
NEXT_AWS_BUCKET_ENDPOINT=http://localhost:9090
NEXT_PUBLIC_BUCKET_PREFIX=http://localhost:9090/magick
PROJECT_AWS_ACCESS_KEY=key
PROJECT_AWS_SECRET_KEY=secret
PROJECT_AWS_REGION=region
PROJECT_AWS_BUCKET_NAME=magick-projects
PROJECT_AWS_BUCKET_ENDPOINT=http://localhost:9090
PROJECT_BUCKET_PREFIX=http://localhost:9090/magick-projects
PORTAL_AGENT_KEY=key
APT_ROOT_URL=http://0.0.0.0
PLUGINS_DIRECTORY=./plugins
# TODO: Setup this with magickml email?
VERTEXAI_PROJECT=project
VERTEXAI_LOCATION=location
CREDENTIALS_ENCRYPTION_KEY=key
CREDENTIALS_ALGORITHM=aes-256-ctr
VITE_APP_FRIGADE_KEY=api_public_dYjL8ANoRnPaVLCUSecsttxFvNw12ToMFTFJIumS7Gi55QoqvQ6Zg3uFLTX7FO9n
NEXT_PUBLIC_FRIGADE_KEY=api_public_dYjL8ANoRnPaVLCUSecsttxFvNw12ToMFTFJIumS7Gi55QoqvQ6Zg3uFLTX7FO9n
APP_URL = http://localhost:4000
NEXT_PUBLIC_APP_URL=http://localhost:4000
NEXTAUTH_URL=http://localhost:4000
AGENT_API_KEY=apiKey
API_ACCESS_KEY=apiKey
IDE_SERVER_URL=http://localhost:3030
SERVICE_NAME=portal-local
LITELLM_LOCAL_MODEL_COST_MAP=True
KEYWORDS_API_KEY=apiKey
KEYWORDS_API_URL=https://api.keywordsai.co
EMBEDDER_REDIS_URL=redis://localhost:6379
EMBEDDER_REDIS_HOST=localhost
EMBEDDER_REDIS_PORT=6379
EMBEDDER_PINECONE_PROJECT=embedder-dev
EMBEDDER_PINECONE_CLOUD=aws
EMBEDDER_PINECONE_REGION=us-east-1
EMBEDDER_DB_URL=postgresql://magick:magick_default_pw@localhost:5432/magick?schema=rag
EMBEDDER_JWT_SECRET=secret
EMBEDDER_JWT_EXPIRES_IN=1d
EMBEDDER_AUTH_ROUTE_MATCHER=/api
NEXT_PUBLIC_EMBEDDER_SERVER_URL=http://localhost:4010/api
ENABLE_SERAPH=false
ENABLE_USER_SERVICE=true
AGENT_EMBEDDER_API_KEY=