forked from SmythOS/smythos-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.compose.example
More file actions
49 lines (32 loc) · 1.29 KB
/
.env.compose.example
File metadata and controls
49 lines (32 loc) · 1.29 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
NODE_ENV="production"
LOG_LEVEL="debug"
DATABASE_PROVIDER=mysql
DATABASE_HOST=mysql
DATABASE_USER=smythos_user
DATABASE_PASSWORD=samplepassword111
DATABASE_NAME=smythos-local
# Expansion to build the database url (this entry is MANDATORY for Prisma to work)
DATABASE_URL="$DATABASE_PROVIDER://$DATABASE_USER:$DATABASE_PASSWORD@$DATABASE_HOST:3306/$DATABASE_NAME?allowPublicKeyRetrieval=true&useSSL=false"
APP_DOMAIN="localhost"
APP_URL="http://$APP_DOMAIN:6060" # Expansion of the APP_DOMAIN variable
RUNTIME_DOMAIN="dev.agent.oss.smyth.ai"
RUNTIME_URL="http://$RUNTIME_DOMAIN:6060" # Expansion of the RUNTIME_DOMAIN variable
DEFAULT_AGENT_DOMAIN="dev.agent.oss.smyth.ai"
PROD_AGENT_DOMAIN="prod.agent.oss.smyth.ai"
AGENT_DOMAIN_PORT="6060" # modify this when changing the port of the runtime service
OPENAI_API_KEY="openai-api-key"
SMYTHOS_EDITION="self-hosted"
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=redis_password
SESSION_SECRET=session_secret
# Docker compose scope env variables
EXPOSE_TRAEFIK_PORT="6060"
EXPOSE_HTTPS_TRAEFIK_PORT="6062"
DATABASE_ROOT_PASSWORD=smythos_root_password # used for creating root user for docker db
LETSENCRYPT_EMAIL=user@example.com
ENABLE_TLS=false
# Do not edit - internal ports for the services
MIDDLEWARE_API_PORT="5000"
RUNTIME_PORT="5053"
APP_PORT="5050"