Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Last active August 29, 2015 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehazlett/8713753 to your computer and use it in GitHub Desktop.
Save ehazlett/8713753 to your computer and use it in GitHub Desktop.
Shipyard Standalone

Shipyard Standalone

This describes how to launch Shipyard on a single machine.

Containers

  • docker run -i -t -d -p 6379 -name shipyard_redis shipyard/redis
  • docker run -i -t -d -p 80 -link shipyard_redis:redis -name shipyard_router shipyard/router
  • docker run -i -t -d -p 80:80 -link shipyard_redis:redis -link shipyard_router:app_router -name shipyard_lb shipyard/lb
  • docker run -i -t -d -p 5432 -e DB_PASS=1q2w3e -name shipyard_db shipyard/db
  • docker run -i -t -p 8000:8000 -e ADMIN_PASS=shipyard shipyard/shipyard app master-worker

Agent

You will now need to launch the Shipyard Agent (see that link for installation).

shipyard-agent -url http://localhost:8000 -register

This will output a key. Use that to run the agent:

shipyard-agent -url http://localhost:8000 -key <key-from-above>

Next login to your Shipyard instance (http://localhost:8000) and "Authorize" the host under the "Hosts" section.

Configure Hipache (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment