HUB
Sign inSign up
mongodb-vandelay logo

washpost/mongodb-vandelay

By washpost

•Updated over 7 years ago

A mongodb image with import/export capabilities

Image
0

10K+

washpost/mongodb-vandelay repository overview

A simple docker-compose example:

services:
  data:
    image: washpost/mongodb-vandelay
    environment:
      WATCH: 'true'
    ports:
      - 27017:27017
    volumes:
      - ./data/db:/data/db:rw
      - ./data/dumps:/data/dumps:rw
      - ./data/restore:/data/restore:rw

To dump: docker exec $(docker ps | grep ':27017' | awk '{ print $1; }') ./dump.sh

To restore, just drag-and-drop a tarball generated from the above dump command into the restore directory

Tag summary
Recent tags
Content type
Image
Digest
Size
156.6 MB
Last updated
over 7 years ago
docker pull washpost/mongodb-vandelay:latest