eventman/docker-compose-mongo-cmd.yml

7 lines
225 B
YAML

version: '3'
services:
mongo-dump:
image: "mongo:latest"
command: ["mongodump", "--host", "eventman-mongo", "--out", "/tmp/", "--db", "eventman"]
external_links:
- eventman_eventman-mongo_1:eventman-mongo