Last active
July 28, 2017 18:35
-
-
Save automactic/3af58ee5ada0279518f802e31c601888 to your computer and use it in GitHub Desktop.
Zimfarm useful commands
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
# stop all dispatcher containers | |
docker stop $(docker ps -q --filter "label=com.chrisshwli.zimfarm.name") | |
# run all dispatcher containers | |
docker-compose up --build -d | |
# run worker | |
docker build -t worker . && docker run -v /var/run/docker.sock:/var/run/docker.sock worker | |
docker run --link=zimfarm-worker-redis:redis openzim/mwoffliner mwoffliner --mwUrl=https://en.wikipedia.org/ [email protected] | |
--redis="redis://redis" --verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment