28 lines
723 B
Plaintext
28 lines
723 B
Plaintext
# backend (src)
|
|
DB__URL=postgres://user:password@localhost:5432/tgex
|
|
|
|
LOGGER__APP_NAME=tgex-backend
|
|
LOGGER__PRETTY_CONSOLE=true
|
|
LOGGER__LEVEL=info
|
|
|
|
JWT__SECRET_KEY=your_secret_key_here_please_generate_a_strong_random_string
|
|
|
|
PARSER__URL=http://localhost:8080
|
|
|
|
S3__ENDPOINT_URL=http://localhost:9000
|
|
S3__ACCESS_KEY_ID=user
|
|
S3__SECRET_ACCESS_KEY=password
|
|
S3__BUCKET_NAME=tgex-files
|
|
|
|
# tg_bot (telegram_bot)
|
|
TELEGRAM__TOKEN=your_bot_token_here
|
|
BACKEND__BASE_URL=http://localhost:8000
|
|
LOGIN_URL=https://app.example.com/api/v1/auth/complete?token=
|
|
|
|
# tg_parser (tg_parser)
|
|
TELEGRAM__API_ID=123456
|
|
TELEGRAM__API_HASH=your_api_hash_here
|
|
TELEGRAM__SESSION_FILE=/data/tg_parser.json
|
|
TELEGRAM__PHONE=+79999999999
|
|
TELEGRAM__PASSWORD=
|