-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.env
More file actions
executable file
·65 lines (55 loc) · 2.34 KB
/
Copy pathdefault.env
File metadata and controls
executable file
·65 lines (55 loc) · 2.34 KB
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
# =============================================================================
# Kong CE + Konga Docker Configuration
# =============================================================================
# Copy this file to .env and customize for your environment
# IMPORTANT: Change all passwords before production deployment!
# =============================================================================
# -----------------------------------------------------------------------------
# Kong Configuration
# -----------------------------------------------------------------------------
KONG_VERSION=3.9
# Kong Admin API
KONG_ADMIN_HTTP_PORT=8001
KONG_ADMIN_HTTPS_PORT=8444
KONG_ADMIN_LISTEN=0.0.0.0:8001, 0.0.0.0:8444 ssl
# Kong Proxy
KONG_PROXY_HTTP_PORT=8000
KONG_PROXY_HTTPS_PORT=8443
KONG_PROXY_LISTEN=0.0.0.0:8000, 0.0.0.0:8443 ssl http2
# Kong Manager (limited in CE, mostly Enterprise feature)
KONG_MANAGER_PORT=8002
KONG_ADMIN_GUI_LISTEN=0.0.0.0:8002
KONG_ADMIN_GUI_URL=http://localhost:8002
# -----------------------------------------------------------------------------
# Konga Configuration
# -----------------------------------------------------------------------------
KONGA_PORT=1337
KONGA_NODE_ENV=production
# Generate a secure token for production: openssl rand -hex 32
KONGA_TOKEN_SECRET=your-secret-token-change-in-production
# -----------------------------------------------------------------------------
# PostgreSQL Configuration (Kong Database)
# -----------------------------------------------------------------------------
POSTGRES_VERSION=16-alpine
POSTGRES_HOST=kong-database
POSTGRES_PORT=5432
# Kong database credentials
KONG_PG_HOST=kong-database
KONG_PG_USER=kong
KONG_PG_PASSWORD=kong
KONG_PG_DATABASE=kong
# -----------------------------------------------------------------------------
# PostgreSQL Configuration (Konga Database)
# -----------------------------------------------------------------------------
KONGA_DB_USER=konga
KONGA_DB_PASSWORD=konga
KONGA_DB_DATABASE=konga
# -----------------------------------------------------------------------------
# Docker Compose Settings
# -----------------------------------------------------------------------------
COMPOSE_PROJECT_NAME=kong
KONG_DATABASE=postgres
KONG_USER=kong
KONG_PREFIX=/var/run/kong
# Legacy Cassandra support (deprecated, use PostgreSQL)
KONG_CASSANDRA_CONTACT_POINTS=kong-database