|
|
|
|
82
|
// pgsql = PostgreSQL
|
82
|
// pgsql = PostgreSQL
|
83
|
// sqlite = SQLite 3
|
83
|
// sqlite = SQLite 3
|
84
|
$CONF['database_type'] = 'pgsql';
|
84
|
$CONF['database_type'] = 'pgsql';
|
85
|
-$CONF['database_host'] = getenv('POSTGRES_HOST');
|
|
|
86
|
-$CONF['database_user'] = getenv('POSTGRES_USER');
|
|
|
87
|
-$CONF['database_password'] = getenv('POSTGRES_PASSWORD');
|
|
|
88
|
-$CONF['database_name'] = getenv('POSTGRES_DB');
|
|
|
|
|
85
|
+$CONF['database_host'] = 'POSTGRES_HOST';
|
|
|
86
|
+$CONF['database_user'] = 'POSTGRES_USER';
|
|
|
87
|
+$CONF['database_password'] = 'POSTGRES_PASSWORD';
|
|
|
88
|
+$CONF['database_name'] = 'POSTGRES_DB';
|
89
|
// If you need to specify a different port for a MYSQL database connection, use e.g.
|
89
|
// If you need to specify a different port for a MYSQL database connection, use e.g.
|
90
|
// $CONF['database_host'] = '172.30.33.66:3308';
|
90
|
// $CONF['database_host'] = '172.30.33.66:3308';
|
91
|
// If you need to specify a different port for POSTGRESQL database connection
|
91
|
// If you need to specify a different port for POSTGRESQL database connection
|