You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
843 B
YAML

services:
kong:
image: kong/kong-gateway:3.7.1.2
container_name: kong-dbless
restart: always
environment:
- KONG_DATABASE=off
- KONG_DECLARATIVE_CONFIG=/kong/declarative/kong.yml
- 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
- KONG_ADMIN_GUI_URL=http://localhost:8002
- KONG_LICENSE_DATA
ports:
- "8000:8000"
- "8443:8443"
- "8001:8001"
- "8444:8444"
- "8010:8002"
- "8445:8445"
- "8003:8003"
- "8004:8004"
volumes:
- .:/kong/declarative # Volume mount for declarative config
networks:
- kong-network
networks:
kong-network:
driver: bridge
name: kong-network