Skip to content

Commit 9a8fc62

Browse files
m-tanabem-tanabe
authored andcommitted
Set default value of password for caliper log db
1 parent 1954370 commit 9a8fc62

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

caliper/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ PREFIX=mdl_
99
DB_LOG_HOST=caliper_log_db
1010
#DB_LOG_DATABASE=caliper_log
1111
#DB_LOG_USERNAME=caliper_cli
12-
#DB_LOG_PASSWORD=''
12+
#DB_LOG_PASSWORD=caliper
1313

1414
APP_NAME=moodle
1515

caliper/config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
'port' => env('DB_LOG_PORT', '5432'),
5050
'database' => env('DB_LOG_DATABASE', 'caliper_log'),
5151
'username' => env('DB_LOG_USERNAME', 'caliper_cli'),
52-
'password' => env('DB_LOG_PASSWORD', ''),
52+
'password' => env('DB_LOG_PASSWORD', 'caliper'),
5353
'charset' => 'utf8',
5454
'schema' => 'public',
5555
'sslmode' => 'prefer'

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ services:
7272
container_name: caliper_log_db
7373
environment:
7474
- POSTGRES_USER=caliper_cli
75-
- POSTGRES_PASSWORD=
75+
- POSTGRES_PASSWORD=caliper
7676
- POSTGRES_DB=caliper_log
7777
ports:
7878
- "15432:5432"

0 commit comments

Comments
 (0)