Commit Graph

12 Commits

Author SHA1 Message Date
JRoot Junior
13e606c76b
Refactor entrypoint script for improved flexibility
Change the shebang to use env, add helper functions to handle environment variables, and dynamically append command arguments. This improves script flexibility and ensures critical variables are set or loaded from files.
2024-10-21 02:01:29 +03:00
Alex Root Junior
0096d99a86
Merge branch 'master' into master 2024-10-21 00:23:56 +03:00
jieggii
fb47bf7d0a Add more details to error message in docker-entrypoint.sh 2024-08-08 14:40:02 +03:00
jieggii
2d5e9553c8 Fix condition in docker-entrypoint.sh 2024-08-08 14:39:06 +03:00
jieggii
6609c98025 Reorganize code in docker-entrypoint.sh 2024-08-08 14:27:39 +03:00
jieggii
3168dc82ba Fixes for file_env function
- Avoid using eval
- Add validation logic for environment variables existence
2024-08-08 14:20:39 +03:00
jieggii
6505e0619f Add support for Docker secrets in Telegram API credentials
Read values for TELEGRAM_API_ID and TELEGRAM_API_HASH from files specified by
TELEGRAM_API_ID_FILE and TELEGRAM_API_HASH_FILE respectively. This allows
for better management of sensitive information through Docker secrets.
2024-08-07 16:09:32 +03:00
kiki-kanri
e19317eb44 feat: handling of http-port env values added to entry points 2024-08-05 20:41:28 +08:00
InPRTx
2899471a0f
add TELEGRAM_HTTP_IP_ADDRESS 2023-02-15 18:50:45 +08:00
T1MOXA
e3c15d9e37
Fixed missing space for TELEGRAM_LOG_FILE variable 2022-08-19 14:21:35 +03:00
Alex Root Junior
6ca4fe98b5 Fix temp directory permissions, move logs path to environment variable 2020-11-10 00:36:53 +02:00
Alex Root Junior
e285f54a80 Initial commit 2020-11-06 23:59:38 +02:00