Skip to content

Add config_path parameter, /config directory for docker image and cookie env vars#377

Open
RobinMeis wants to merge 6 commits intoMichele0303:mainfrom
RobinMeis:main
Open

Add config_path parameter, /config directory for docker image and cookie env vars#377
RobinMeis wants to merge 6 commits intoMichele0303:mainfrom
RobinMeis:main

Conversation

@RobinMeis
Copy link
Copy Markdown
Contributor

This pull request implements the following improvements which are mainly intended for the docker image:

  • Optional -config-path parameter allows to specify a user defined configuration directory for cookies.json and telegram.json.
  • The docker image now uses /config as configuration directory. This allows to mount a volume into the docker container containing the configuration files.
  • The docker image now supportes the environment variables SESSIONID_SS and TT_TARGET_IDC. If at least SESSIONID_SS is specified, the cookies.json file will be automatically created on container startup. This feature improves secret management in K8S clusters.

@Michele0303
Copy link
Copy Markdown
Owner

Hey @RobinMeis, thanks for this PR.

The problem is that the codebase has changed significantly since November, The conflicts are too deep for a simple rebase.

Could you open a new PR based on current main?

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.

2 participants