Skip to content

Instantly share code, notes, and snippets.

@ojengwa
Last active November 3, 2018 14:49
Show Gist options
  • Save ojengwa/547d15a75b411fab1f9b1b2d6d546265 to your computer and use it in GitHub Desktop.
Save ojengwa/547d15a75b411fab1f9b1b2d6d546265 to your computer and use it in GitHub Desktop.
Ichnaea Deploy docs
## Deployment Guide
Mozilla Ichnaea has two depeendencies:
1. Mysql Server
2. Redis Server
To install, follow the following steps
1. ### Build the required images
1. Pull the custom Mysql Database image from Docker Hub
`bash deploy.sh build mysql `
2. Pull the custom Redis image from Docker Hub
`bash deploy.sh build redis`
3. Pull Ichanea from Docker Hub
2. ### Start the Containers
1. Start Ichnaea with all the dependcies
`bash deploy.sh start `
2. Or if you just want to start any of the containers
`bash deploy.sh start <container_name>` where _<container_name>_ is either
* scheduler (for running the Ichnaea schedule)
* worker (for running the Ichnaea background tasks)
* web (for running the Ichnaea web server)
* services (for running the MySql and Redis containers)
3. ### Stop the Containers
1. Stop all running containers
`bash deploy.sh stop`
2. Or if you just want to stop any of the containers
`bash deploy.sh stop <container_name>` where _<container_name>_ is either
* scheduler (for stoping the Ichnaea schedule)
* worker (for stoping the Ichnaea background tasks)
* web (for stoping the Ichnaea web server)
* services (for stoping the MySql and Redis containers)
4. ### Restart the Containers
1. Restart Ichnaea with all the dependcies
`bash deploy.sh restart `
2. Or if you just want to restart any of the containers
`bash deploy.sh restart <container_name>` where _<container_name>_ is either
* scheduler (for restarting the Ichnaea schedule)
* worker (for restarting the Ichnaea background tasks)
* web (for restarting the Ichnaea web server)
* services (for restarting the MySql and Redis containers)
for the other extra command, check the inline comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment