Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

fix[security-services]: Explicitly specify POSTGRES_PASSWORD #221

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions releases/fuji/compose-files/docker-compose-fuji.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ services:
environment:
- 'POSTGRES_DB=kong'
- 'POSTGRES_USER=kong'
- 'POSTGRES_PASSWORD=changeme'

kong-migrations:
image: kong:1.3.0
Expand All @@ -161,6 +162,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
command: >
/bin/sh -cx
'until /consul/scripts/consul-svc-healthy.sh kong-db;
Expand Down Expand Up @@ -194,6 +197,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
- 'KONG_PROXY_ACCESS_LOG=/dev/stdout'
- 'KONG_ADMIN_ACCESS_LOG=/dev/stdout'
- 'KONG_PROXY_ERROR_LOG=/dev/stderr'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ services:
environment:
- 'POSTGRES_DB=kong'
- 'POSTGRES_USER=kong'
- 'POSTGRES_PASSWORD=changeme'

kong-migrations:
image: kong:1.3.0-ubuntu
Expand All @@ -177,6 +178,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
command: >
/bin/sh -cx
'until /consul/scripts/consul-svc-healthy.sh kong-db;
Expand Down Expand Up @@ -211,6 +214,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
- 'KONG_PROXY_ACCESS_LOG=/dev/stdout'
- 'KONG_ADMIN_ACCESS_LOG=/dev/stdout'
- 'KONG_PROXY_ERROR_LOG=/dev/stderr'
Expand Down
5 changes: 5 additions & 0 deletions releases/nightly-build/compose-files/docker-compose-nexus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ services:
environment:
- 'POSTGRES_DB=kong'
- 'POSTGRES_USER=kong'
- 'POSTGRES_PASSWORD=changeme'

kong-migrations:
image: kong:1.3.0
Expand All @@ -177,6 +178,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
command: >
/bin/sh -cx
'until /consul/scripts/consul-svc-healthy.sh kong-db;
Expand Down Expand Up @@ -211,6 +214,8 @@ services:
environment:
- 'KONG_DATABASE=postgres'
- 'KONG_PG_HOST=kong-db'
- 'KONG_PG_USER=kong'
- 'KONG_PG_PASSWORD=changeme'
- 'KONG_PROXY_ACCESS_LOG=/dev/stdout'
- 'KONG_ADMIN_ACCESS_LOG=/dev/stdout'
- 'KONG_PROXY_ERROR_LOG=/dev/stderr'
Expand Down