-
Notifications
You must be signed in to change notification settings - Fork 100
Sketchy
sbehrens edited this page Dec 16, 2014
·
4 revisions
The current sketchy docker images are not production ready. This guide will help you get up and running quickly, but take note of the following:
- The docker images ship with a self-signed certificate and private key. You will want to replace these with a trusted certificate.
- The docker images currently do not export logs off the container.
Run Redis:
docker run -d --name sketchy_redis redis:2.8.9
Run Postgres:
docker run -d --name sketchy_postgres postgres:9.3.5
Init the DB:
docker run -t --name sketchy_dbinit --link sketchy_postgres:sketchy_postgres netflixoss/sketchy-api:1.0.0 init_db
Run the API:
docker run -d --name sketchy_api --link sketchy_redis:sketchy_redis --link sketchy_postgres:sketchy_postgres netflixoss/sketchy-api:1.0.0 celery_api
Run Nginx:
docker run -d --name sketchy_nginx --link sketchy_api:sketchyapi netflixoss/sketchy-nginx:1.0.0
Make a request to sketch Google.com.
https://SKETCHY_NGINX/eager?url=http://google.com&type=sketch