/ .env.example
.env.example
 1  #RESTAI - optional
 2  RESTAI_PORT=9000 #optional, default 9000
 3  EMBEDDINGS_PATH="./embeddings/" #optional, default ./embeddings/
 4  
 5  #CORS etc
 6  RESTAI_DEV=true
 7  
 8  #Use local GPUs for image and audio generation
 9  RESTAI_GPU=false #optional, default false
10  
11  #REDIS - optional vectorstore
12  REDIS_HOST="127.0.0.1" #optional, defaults to chroma
13  REDIS_PORT=6379 #optional, defaults to chroma
14  
15  #mySQL - optional DB
16  MYSQL_HOST="xxxxxxx" #optional, defaults to sqlite
17  MYSQL_USER="xxxxxxx" #optional, defaults to sqlite. *User to be created on mysql docker instance
18  MYSQL_PASSWORD="xxxxxxx" #optional, defaults to sqlite. *Password for regular user on mysql docker instance
19  MYSQL_DB="xxxxxxx" #optional, defaults to sqlite. *DB to be created on mysql docker instance
20  MYSQL_ROOT_PASSWORD="xxxxxxx" #optional, defaults to sqlite. *Password for root user on mysql docker instance
21  
22  #PostgreSQL - optional DB
23  POSTGRES_HOST="xxxxxxx" #optional, defaults to sqlite. Use "postgres" for docker compose
24  POSTGRES_USER="xxxxxxx" #optional, defaults to sqlite. *User to be created on postgres docker instance
25  POSTGRES_PASSWORD="xxxxxxx" #optional, defaults to sqlite. *Password for postgres user on postgres docker instance
26  POSTGRES_DB="xxxxxxx" #optional, defaults to sqlite. *DB to be created on postgres docker instance
27  
28  #Local GPU - optional
29  RESTAI_DEFAULT_DEVICE="cuda:0" #optional, default cuda:0 for models that aren't multi-device
30  
31  RESTAI_DEFAULT_PASSWORD="admin" #optional, default admin password "admin" otherwise
32  
33  #Public API Keys - optional
34  OPENAI_API_KEY="xxxxxxx" #optional, openai
35  GOOGLE_APPLICATION_CREDENTIALS="/xxxxxxx/google.json" #optional, google
36  GOOGLE_API_KEY=""xxxxxxx"" #optional, google
37