Skip to content

Instantly share code, notes, and snippets.

@lorismaz
Created April 22, 2016 15:23
Show Gist options
  • Save lorismaz/1e705a3f461c4c1266f0b6981b34ea85 to your computer and use it in GitHub Desktop.
Save lorismaz/1e705a3f461c4c1266f0b6981b34ea85 to your computer and use it in GitHub Desktop.
postgres:
image: postgres:9.4
container_name: kong-database
ports:
- "5432:5432"
environment:
- POSTGRES_USER=kong
- POSTGRES_DB=kong
web:
image: mashape/kong
container_name: kong
environment:
- DATABASE=postgres
restart: always
ports:
- "80:8000"
- "443:8443"
- "8001:8001"
- "7946:7946"
- "7946:7946/udp"
links:
- postgres
ui:
image: pgbi/kong-dashboard
container_name: kong-dashboard
ports:
- "8080:8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment