Last active
August 27, 2015 12:22
-
-
Save manuelleduc/05e8bb8310a84f2b2c6e to your computer and use it in GitHub Desktop.
libreboard-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libreboard: | |
image: mkodockx/docker-libreboard | |
links: | |
- db | |
ports: | |
- 80 | |
environment: | |
MONGO_URL: mongodb://db | |
ROOT_URL: http://idavoll.irisa.fr | |
db: | |
image: mongo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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