feedsbrain / instabot-docker

Customized Docker image for instabot.py (https://github.com/instabot-py/instabot.py)
17 stars 6 forks source link

Database outside of volume #4

Closed evialle closed 5 years ago

evialle commented 5 years ago

Hello,

When executing the Docker image, the sqlite.db file isn't in /app/db but in /app/

Eg: root@4d33c0c2cd2c:/app# ls Dockerfile README.md db requirements setup.py tests ISSUE_TEMPLATE.md config instabot.config.yml session sqlite.db tox.ini LICENSE data instabot_py setup.cfg start-instabot.py version.txt

Here's the docker-compose file: version: '3'

services: instabot: # recomended to use your username image: feedsbrain/instabot:1.3.5 stdin_open: true tty: true restart: always environment:

feedsbrain commented 5 years ago

Hi, thank you for raising this issue. I will look into this, the database was meant to be under db folder and the filename should match your username.db.

feedsbrain commented 5 years ago

Hi @evialle

I've merged the fix for this issue and released Version 1.3.6 that includes this fix. You may need to copy the database to the proper name and location.

Zzo911 commented 5 years ago

Hi,

With the latest version of the docker file, the db file is still not created under /app/db nor in /app. So the bot new unlikes/unfollows.

Regards