Skip to content

Instantly share code, notes, and snippets.

@tnolet
Created July 2, 2015 19:44
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 tnolet/8e6286b83c7027624690 to your computer and use it in GitHub Desktop.
Save tnolet/8e6286b83c7027624690 to your computer and use it in GitHub Desktop.
Vamp test deployment with monarch test app. Hit the :9050 endpoint on Vamp Router with the actions mentioned here https://github.com/magneticio/monarch#api
name: monarchs:1.0
endpoints:
frontend.port: 9050
clusters:
frontend:
services:
-
breed:
name: monarch_front:0.1
deployable: magneticio/monarch:0.1
ports:
port: 8080/http
dependencies:
backend: monarch_backend:0.3
environment_variables:
MONARCH_DEPENDS_ON_HOST: $backend.host
MONARCH_DEPENDS_ON_PORT: $backend.ports.jdbc
routing:
weight: 100
scale:
cpu: 0.1
memory: 128
instances: 2
backend:
services:
breed:
name: monarch_backend:0.3
deployable: magneticio/monarch:0.3
ports:
jdbc: 8080/http
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment