docker
Good afternoon, can you tell me where in the prebuild docker container is the tgreddit folder, where to put config.
To make it work, I manually wrote the path to the config, but...
2024-01-29 17:28:34 [2024-01-29T14:28:34Z ERROR tgreddit::config] failed to read config: No such file or directory (os error 2) 2024-01-29 17:28:44 Error: error connecting to database 2024-01-29 17:28:44 2024-01-29 17:28:44 Caused by: 2024-01-29 17:28:44 0: unable to open database file: /data/data.db3 2024-01-29 17:28:44 1: Error code 14: Unable to open the database file
Hello. Can you specify what you are running exactly?
I think the error suggests that you would have to provide a volume at /data when you run the image, so that the program can write the database file.
I run There's a prebuilt Docker image with dependencies included at [rainevi/tgreddit](https://hub.docker.com/repository/docker/rainevi/tgreddit). I add redacted https://github.com/raine/tgreddit/blob/master/config.example.toml in environment docker container config.toml