Skip to content

Commit 840ee45

Browse files
committed
update instructions for db persistence
1 parent 7a11e26 commit 840ee45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ docker compose run --rm ui /lila/bin/trans-dump
111111
### Make the database persistent
112112
113113
```bash
114-
docker cp lila-docker-mongodb-1:/data/db ./database
114+
docker compose cp mongodb:/data/db ./database
115115
```
116+
then in `docker-compose.yml`add `- ./database:/data/db` to mongodb volumes
116117
117118
### Code formatting:
118119

0 commit comments

Comments
 (0)