768 B
768 B
Docker container
ibt2 requires MongoDB to run.
You can use docker-compose.yml to have a complete environment. Run: docker-compose up --build
The data is stored in the ibt2_data volume: do not cancel it.
In the docker-tools directory there is a set of tools to build and run another container to dump and restore the database; you need the docker-compose running, to execute them. From that directory you can:
- dump.sh: dump the current database in a file like ibt2-dump-2017-11-28T21:57:43.tgz
- restore.sh: ibt2-dump-2017-11-28T21:57:43.tgz: restore the given dump. Notice that the current database is completely removed, so DO NOT restore a dump if you don't have a backup of the current data
- shell.sh: open a shell for the database