Replies: 1 comment 5 replies
-
I found some suggestions on Stack Overflow, and inotifywait seems to be the most promising option.
Alternatively, we could use SQLite with cloud replication through Litestream. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the following use case: the only aspect under user control is the Dockerfile.
To modify an option or update the
tg-spam
application, a new (edited) Dockerfile must be redeployed, but this process does not preserve any existing data.Here are a couple of ideas that come to mind:
Synchronization Job: We could implement a synchronization job, for example, using
rclone
. However, we would need a mechanism to run it periodically. Perhapstg-spam
could handle this task.Cloud Database: Another option would be to use a cloud database instead of relying on text files. There are some free options available, such as Cloudflare R2, which is S3-compatible.
Do you have any suggestions for this scenario?
Beta Was this translation helpful? Give feedback.
All reactions