Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync fork #3

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open

Sync fork #3

wants to merge 39 commits into from

Conversation

tshipenchko
Copy link
Member

Fixes #2

JrooTJunior and others added 30 commits October 1, 2023 16:55
Reworked project structure and added multi-arch build
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.
- Avoid using eval
- Add validation logic for environment variables existence
feat: use TELEGRAM_HTTP_PORT env to set the api server listening port
Add docker secrets support for TELEGRAM_API_ID and TELEGRAM_API_HASH
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push one image for all platforms (remove suffix)
6 participants