-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
106 lines (99 loc) · 2.32 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '3'
services:
kong-database:
image: postgres:9.6
container_name: kong-database
ports:
- 5433:5432
environment:
- POSTGRES_USER=kong
- POSTGRES_DB=kong
- POSTGRES_PASSWORD=kong
networks:
- kong-net
volumes:
- "db-data-kong-postgres:/var/lib/postgresql/data"
kong-migrations:
image: kong
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=kong-database
- KONG_PG_PASSWORD=kong
- KONG_CASSANDRA_CONTACT_POINTS=kong-database
- KONG_PLUGINS=bundled,jwt-blacklist
command: kong migrations bootstrap
restart: on-failure
networks:
- kong-net
depends_on:
- kong-database
kong:
image: kong-jwt-blacklist
container_name: kong
environment:
- LC_CTYPE=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- KONG_DATABASE=postgres
- KONG_PG_HOST=kong-database
- KONG_PG_USER=kong
- KONG_PG_PASSWORD=kong
- KONG_CASSANDRA_CONTACT_POINTS=kong-database
- KONG_PROXY_ACCESS_LOG=/dev/stdout
- KONG_ADMIN_ACCESS_LOG=/dev/stdout
- KONG_PROXY_ERROR_LOG=/dev/stderr
- KONG_ADMIN_ERROR_LOG=/dev/stderr
- KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl
- KONG_PLUGINS=bundled,jwt-blacklist
restart: on-failure
ports:
- 8000:8000
- 8443:8443
- 8001:8001
- 8444:8444
links:
- kong-database:kong-database
networks:
- kong-net
depends_on:
- kong-migrations
# konga:
# image: pantsel/konga
# ports:
# - 1337:1337
# links:
# - kong:kong
# container_name: konga
# environment:
# - NODE_ENV=production
# local_keycloak:
# image: quay.io/keycloak/keycloak:15.0.2
# restart: always
# environment:
# KEYCLOAK_USER: admin
# KEYCLOAK_PASSWORD: admin
# ports:
# - 8082:8080
# redis_local:
# image: redis
# ports:
# - 6379:6379
# keycloak:
# image: wizzn/keycloak:14
# environment:
# DB_VENDOR: POSTGRES
# DB_ADDR: postgres
# DB_DATABASE: keycloak
# DB_USER: kong
# DB_SCHEMA: public
# DB_PASSWORD: kong
# KEYCLOAK_USER: admin
# KEYCLOAK_PASSWORD: admin
# ports:
# - 8083:8080
# depends_on:
# - kong-database
volumes:
db-data-kong-postgres:
networks:
kong-net:
external: false