lichess-org / lila-docker

Lichess local development using Docker Compose.
GNU Affero General Public License v3.0
44 stars 44 forks source link

make database available outside of the container #36

Closed Juesto closed 11 months ago

Juesto commented 11 months ago

this would have the benefit of keeping the database data when running ./lila-docker down and bringing it back up due to the need of changing optional components and such

fitztrev commented 11 months ago

Thanks, I think we'll make this opt-in. I prefer the behavior of the database getting reset after running ./lila-docker down but I can see cases where it might be beneficial or if people have a different preference. Could you add it to the docs/README instead? Also, you can add the database folder to gitignore so that's already set when people use it.

Juesto commented 11 months ago

sure! issuing the docker cp command will automatically create the volume for people so maybe be clear with that, no promises but i'll get around putting it into the readme