forked from mogui/kong-external-oauth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (43 loc) · 828 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
version: '2'
services:
kong:
build: kong-plugin/.
depends_on:
- kong-database
- jwtvalidator
ports:
- 8000:8000
- 8443:8443
- 8001:8001
- 7946:7946
- 7946:7946/udp
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=kong-database
jwtvalidator:
build: node-validator/.
kong-database:
image: postgres:9.4
ports:
- 5432
environment:
- POSTGRES_USER=kong
- POSTGRES_DB=kong
volumes:
- /var/lib/postgresql/data
konga:
image: pantsel/konga:latest
depends_on:
- kong
- konga-db
ports:
- 1337:1337
environment:
- DB_ADAPTER=mongo
- DB_HOST=konga-db
- DB_DATABASE=konga
- NODE_ENV=production
konga-db:
image: mongo
volumes:
- /data/db