generated from zhanymkanov/fastapi_production_template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.env.example
45 lines (32 loc) · 1015 Bytes
/
.env.example
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
DATABASE_URL=postgresql+asyncpg://app:app@app_db:5432/app
REDIS_URL=redis://:myStrongPassword@redis:6379
SITE_DOMAIN=127.0.0.1
SECURE_COOKIES=false
ENVIRONMENT=LOCAL
CORS_HEADERS=["*"]
CORS_ORIGINS=["http://localhost:3000"]
# for backups, same as in DATABASE_URL
POSTGRES_USER=app
POSTGRES_PASSWORD=app
POSTGRES_HOST=app_db
POSTGRES_PORT=5432
POSTGRES_DB=app
# prefect worker config
PREFECT_API_URL=https://api.prefect.cloud/api/accounts/{account}/workspaces/{workspace}
PREFECT_API_KEY=example_api_key
# main tg bot
TELEGRAM_BOT_USERNAME=ffmemesbot
TELEGRAM_BOT_TOKEN=234234:esfgdfsbfd
TELEGRAM_WEBHOOK_SECRET=123
MEME_STORAGE_TELEGRAM_CHAT_ID=-1234 # tg chat id for
ADMIN_LOGS_CHAT_ID=-1234 # tg chat id for admin logs
UPLOADED_MEMES_REVIEW_CHAT_ID=-1234 # tg chat id for uploaded memes review
# parsing
VK_TOKEN=fppgmdbgonj
HIKERAPI_TOKEN=asfdg # instagram parsing
# ocr
MYSTIC_TOKEN=444
MODAL_ENDPOINT=http://your-endpoint.modal.run
# optional config
REDIS_MAX_CONNECTIONS=128
OPENAI_API_KEY=