Created
July 2, 2015 19:44
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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