Last active
February 11, 2017 18:05
-
-
Save d3rwan/011f9875f4cc3a11fd83860e0a9486f9 to your computer and use it in GitHub Desktop.
Kong API Manager
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
version: "2" | |
services: | |
cassandra: | |
image: cassandra:2.2.8 | |
container_name: cassandra | |
ports: | |
- "9042:9042" | |
kong: | |
image: kong | |
container_name: kong | |
ports: | |
- "8000:8000" | |
- "8443:8443" | |
- "8001:8001" | |
- "7946:7946" | |
- "7946:7946/udp" | |
links: | |
- cassandra:cassandra | |
environment: | |
- KONG_DATABASE=cassandra | |
- KONG_CASSANDRA_CONTACT_POINTS=cassandra | |
depends_on: | |
- cassandra | |
restart: always | |
command: ["/bin/bash", "-c", " while ! nc cassandra 9042; do sleep 5; done && kong start"] | |
ui: | |
image: pgbi/kong-dashboard | |
container_name: ui | |
ports: | |
- "8080:8080" | |
links: | |
- kong:kong | |
depends_on: | |
- kong |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment