lichess-org / lila-docker

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

docs: command to persist database #41

Closed Juesto closed 11 months ago

Juesto commented 11 months ago

more details/as requested in #36

Juesto commented 11 months ago

After this command is run, what's the process to have the mongodb container use this volume on future starts?

docker automatically adds the volume to docker-compose.yml when it executes the copy, i think. not sure

fitztrev commented 11 months ago

After this command is run, what's the process to have the mongodb container use this volume on future starts?

docker automatically adds the volume to docker-compose.yml when it executes the copy, i think. not sure

Can you test this and the docker compose cp and report back?

Juesto commented 11 months ago

After this command is run, what's the process to have the mongodb container use this volume on future starts?

docker automatically adds the volume to docker-compose.yml when it executes the copy, i think. not sure

Can you test this and the docker compose cp and report back?

see commit, maybe i should be less vague about it