szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.65k stars 163 forks source link

Docker volume not correct? #55

Closed Panja0 closed 1 year ago

Panja0 commented 1 year ago

I just created a Docker container on my Synoloy NAS and used:

    volumes:
     - ./microbin-data:/usr/local/bin/pasta_data

But after examining the container itself I noticed the folder should be: /app/pasta_data

Or at least /usr/local/bin/pasta_data is empty for me and /app/pasta_data has the database.json file etc.

szabodanika commented 1 year ago

Are you referring to the instructions in https://github.com/szabodanika/microbin#docker? I suppose that should be updated to the following then? This path changed with 08871e15b651a37774ea62802ab236cdf73bc11e.

    volumes:
     - ./microbin-data:/app/pasta_data
Panja0 commented 1 year ago

Correct!

szabodanika commented 1 year ago

Thanks a lot, nice catch!

Panja0 commented 1 year ago

No worries mate! Thanks for creating this awesome piece of software!