-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 980 Bytes
/
.env.example
File metadata and controls
40 lines (31 loc) · 980 Bytes
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
# Open-Tinker Configuration
# Copy this file to .env and customize for your environment
# API Configuration
API_KEY_PREFIX=tml-
# For MVP, any key with tml- prefix will work
# For production, uncomment and add specific keys:
# API_KEYS=["tml-your-secret-key-here"]
# Server Configuration
HOST=0.0.0.0
PORT=8000
# Database Configuration
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/opentinker
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
# Celery Configuration
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Storage Configuration
CHECKPOINT_STORAGE_PATH=./checkpoints
CHECKPOINT_STORAGE_TYPE=filesystem
# For S3 storage:
# CHECKPOINT_STORAGE_TYPE=s3
# S3_BUCKET=my-bucket
# S3_REGION=us-east-1
# Model Configuration
MODELS_CACHE_DIR=./models_cache
SUPPORTED_MODELS=["Qwen/Qwen2.5-0.5B","Qwen/Qwen2.5-1.5B","meta-llama/Llama-3.2-1B"]
# GPU Configuration
CUDA_VISIBLE_DEVICES=0
# Logging
LOG_LEVEL=INFO