Forked from toast38coza/docker-compose-postgres.yml
Last active
June 23, 2017 11:11
-
-
Save prem911/3120558c36f2c07541c75879a7e18c78 to your computer and use it in GitHub Desktop.
Docker-compose files for Kong
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: | |
postgres: | |
image: postgres:9.4 | |
container_name: kong-database | |
ports: | |
- "5432:5432" | |
environment: | |
- POSTGRES_USER=kong | |
- POSTGRES_DB=kong | |
volumes: | |
- "db-data:/var/lib/postgresql/data" | |
web: | |
image: kong:latest | |
container_name: kong | |
environment: | |
- DATABASE=postgres | |
restart: always | |
ports: | |
- "8000:8000" | |
- "443:8443" | |
- "8001:8001" | |
- "7946:7946" | |
- "7946:7946/udp" | |
links: | |
- postgres | |
ui: | |
image: pgbi/kong-dashboard | |
container_name: kong-dashboard | |
ports: | |
- "80:8080" | |
volumes: | |
db-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment