Skip to content

Instantly share code, notes, and snippets.

@manuelleduc
Last active August 27, 2015 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuelleduc/05e8bb8310a84f2b2c6e to your computer and use it in GitHub Desktop.
Save manuelleduc/05e8bb8310a84f2b2c6e to your computer and use it in GitHub Desktop.
libreboard-compose.yml
libreboard:
image: mkodockx/docker-libreboard
links:
- db
ports:
- 80
environment:
MONGO_URL: mongodb://db
ROOT_URL: http://idavoll.irisa.fr
db:
image: mongo
@manuelleduc
Copy link
Author

Backup : docker run -it --rm --link=libreboard-db:mongoalias -v /tmp/backup:/backup mongo mongodump --host mongoalias --out /backup
Restore : docker run -it --rm --link=tmp_db_1:mongoalias -v /tmp/backup:/backup mongo mongorestore --host mongoalias /backup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment