2626 a : " Copy the Docker Compose file and run `docker compose up -d`."
2727prereqs :
2828 skip_product : true
29- inline :
30- - title : Basic auth password
31- content : |
32- Export your Basic Auth password as an environment variable:
33-
34- ```sh
35- export DECK_BASIC_AUTH_PASSWORD=your_password
36- ```
37-
38- You’ll need this variable when running the tutorial commands.
29+ inline :
3930 - title : Docker Compose
4031 content : |
4132 This guide requires [Docker](https://docs.docker.com/get-started/get-docker/) installed on your system.
@@ -74,7 +65,7 @@ x-kong-config: &kong-env
7465 KONG_PG_HOST: kong-ee-database # Hostname of the Postgres service
7566 KONG_PG_DATABASE: kong # Name of the database to connect to
7667 KONG_PG_USER: kong # Database username
77- KONG_PG_PASSWORD: " ${BASIC_AUTH_PASSWORD} " # Database password
68+ KONG_PG_PASSWORD: kong # Database password
7869 KONG_LICENSE_DATA: "\$ {KONG_LICENSE_DATA}" # Kong Enterprise license passed via environment variable
7970
8071services:
@@ -90,7 +81,7 @@ services:
9081 environment:
9182 POSTGRES_USER: kong # Set DB user inside the container
9283 POSTGRES_DB: kong # Create this database on first run
93- POSTGRES_PASSWORD: " ${BASIC_AUTH_PASSWORD} " # Set the password for the DB user
84+ POSTGRES_PASSWORD: kong # Set the password for the DB user
9485 healthcheck: # Ensure the DB is ready before starting dependent services
9586 test: ["CMD", "pg_isready", "-U", "kong"]
9687 interval: 5s
@@ -110,7 +101,7 @@ services:
110101 restart: on-failure
111102 environment:
112103 <<: *kong-env # Reuse environment config from x-kong-config
113- KONG_PASSWORD: " ${BASIC_AUTH_PASSWORD} " # Admin GUI password (required for RBAC)
104+ KONG_PASSWORD: handyshake # Admin GUI password (required for RBAC)
114105 command: kong migrations bootstrap # Run DB migrations to initialize Kong schema
115106
116107 kong-cp:
@@ -124,7 +115,7 @@ services:
124115 KONG_ADMIN_LISTEN: 0.0.0.0:8001, 0.0.0.0:8444 ssl # Admin API on HTTP + HTTPS
125116 KONG_ADMIN_GUI_LISTEN: 0.0.0.0:8002, 0.0.0.0:8445 ssl # Kong Manager on HTTP + HTTPS
126117 KONG_ADMIN_GUI_URL: http://${GW_HOST:- localhost} :8002 # URL for GUI links
127- KONG_PASSWORD: " ${BASIC_AUTH_PASSWORD} " # Required for logging in to Kong Manager (RBAC)
118+ KONG_PASSWORD: handyshake # Required for logging in to Kong Manager (RBAC)
128119 depends_on:
129120 kong-bootstrap:
130121 condition: service_completed_successfully # Start only after bootstrap has succeeded
0 commit comments