26 lines
600 B
YAML
26 lines
600 B
YAML
|
|
version: '3.8'
|
||
|
|
services:
|
||
|
|
kong:
|
||
|
|
image: kong:3.6
|
||
|
|
environment:
|
||
|
|
KONG_DATABASE: 'off'
|
||
|
|
KONG_DECLARATIVE_CONFIG: /kong/declarative/kong.yaml
|
||
|
|
KONG_PROXY_LISTEN: '0.0.0.0:8000, 0.0.0.0:8443 ssl'
|
||
|
|
KONG_ADMIN_LISTEN: '0.0.0.0:8001, 0.0.0.0:8444 ssl'
|
||
|
|
KONG_LOG_LEVEL: info
|
||
|
|
volumes:
|
||
|
|
- ./kong.yaml:/kong/declarative/kong.yaml:ro
|
||
|
|
ports:
|
||
|
|
- '8000:8000'
|
||
|
|
- '8443:8443'
|
||
|
|
- '8001:8001'
|
||
|
|
- '8444:8444'
|
||
|
|
|
||
|
|
konga:
|
||
|
|
image: pantsel/konga:latest
|
||
|
|
environment:
|
||
|
|
NODE_ENV: production
|
||
|
|
ports:
|
||
|
|
- '1337:1337'
|
||
|
|
depends_on:
|
||
|
|
- kong
|