-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
76 lines (65 loc) · 2.61 KB
/
Copy path.env.example
File metadata and controls
76 lines (65 loc) · 2.61 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
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
JWT_SECRET=your_jwt_secret_key_here
JWT_ALGORITHM=HS256
CLOUDPUB_TOKEN='your_cloudpub_token_here'
CLIENT_ID='bitrix_application_client_id'
CLIENT_SECRET='bitrix_application_client_secret'
SCOPE='crm,user_brief,pull,placement,userfieldconfig,im,imbot,task,tasks_extended,imconnector'
# Optional: if set, stock quotes use Alpha Vantage. Without it, the bot uses Stooq.
ALPHA_VANTAGE_API_KEY=''
## Domain #######################################
# for http://frontend:3000 ####
# enter here URL of your FRONTEND && BACKEND application
# there should be a URL that you enter in the application settings in Bitrix24
VIRTUAL_HOST='https://your_cloudpub_sub_domain_1.cloudpub.ru'
# http://api-php:8000
# http://api-python:8000
# http://api-node:8000
# enter here BACKEND type
SERVER_HOST='http://api-some:8000'
# Database
DB_TYPE=postgresql
DB_NAME=appdb
DB_USER=appuser
DB_PASSWORD=apppass
DB_ROOT_PASSWORD=rootpass
DB_PORT=5432
DATABASE_URL=postgresql://appuser:apppass@database:5432/appdb?serverVersion=17&charset=utf8
# CloudPub image settings
CLOUDPUB_IMAGE=cloudpub/cloudpub:latest
CLOUDPUB_PLATFORM=linux/amd64
# RabbitMQ (queues)
ENABLE_RABBITMQ=0
RABBITMQ_USER=queue_user
RABBITMQ_PASSWORD=queue_password
RABBITMQ_PREFETCH=5
RABBITMQ_DSN=amqp://queue_user:queue_password@rabbitmq:5672/%2f
# BUILD_TARGET dev | production
BUILD_TARGET=dev
## SYSTEM ######################################
# Don't change unless absolutely necessary
# need sync with docker
VIRTUAL_PORT=3000
#NUXT_APP_INTERNAL_URL='http://frontend:3000'
#NUXT_ALLOWED_IPS='127.0.0.1,::1'
#PGPORT=5432
PORT=3000
HOST=0.0.0.0
NODE_ENV='development'
## MEMO: don't use `DEV=true` -> it will break @bitrix24/ui
#Django admin panel for python api (api/admin)
DJANGO_SUPERUSER_USERNAME="admin"
DJANGO_SUPERUSER_EMAIL="admin@example.com"
DJANGO_SUPERUSER_PASSWORD="password"
###> OpenTelemetry ###
# Единая точка включения/выключения телеметрии для backend и frontend.
# Используется PHP-бэкендом (TELEMETRY_ENABLED) и Nuxt-фронтом (NUXT_PUBLIC_TELEMETRY_ENABLED).
# OTel Collector должен быть запущен через b24-ai-starter-otel: cd ../b24-ai-starter-otel && make up
TELEMETRY_ENABLED=false
OTEL_EXPORTER_OTLP_ENDPOINT=http://host.docker.internal:4318
OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer <generate-your-token>
OTEL_SERVICE_NAME=b24-app
OTEL_SERVICE_VERSION=1.0.0
OTEL_ENVIRONMENT=development
# Профиль телеметрии: simple-ui | integration-sync | integration-with-migration | migrator-light | migrator-advanced | development
OTEL_TELEMETRY_PROFILE=simple-ui
###< OpenTelemetry ###