-
Notifications
You must be signed in to change notification settings - Fork 1
Use the Docker image
Michal Migurski edited this page Mar 3, 2017
·
29 revisions
CA-Alerts has been deployed into a Docker container. Follow these instructions to run the application from the container.
- A Github account
- Docker for your appropriate platform
- A funded and appropriately configured Twilio account to support sending SMS messages
- A funded and appropriately configured Mailgun account to support sending emails
-
Git clone
VeryLittleGravitas/CDTADPQ
to a local directory:$ git clone https://github.com/VeryLittleGravitas/CDTADPQ $ cd CDTADPQ
-
Create a Docker image:
$ docker build -t ca-alerts .
-
Check that the image exists:
$ docker images
-
The command should return something like this:
REPOSITORY TAG IMAGE ID CREATED SIZE ca-alerts latest 25442027c068 1 minute ago 469 MB
-
Rename the
docker-env-vars
file in the root of the repo toenv-vars
, with configuration settings described here. -
Run the docker image
$ docker run --env-file env-vars ca-alerts honcho start