mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-07-21 12:30:58 +08:00
DB_LOCALE config parameter renamed to PG_LOCALE
This commit is contained in:
@@ -148,7 +148,7 @@ docker run --name postgresql -d \
|
||||
|
||||
will create a user *dbuser* with the password *dbpass*. It will also create a database named *dbname* and the *dbuser* user will have full access to the *dbname* database.
|
||||
|
||||
The `DB_LOCALE` environment variable can be used to configure the locale used for database creation. Its default value is set to C.
|
||||
The `PG_LOCALE` environment variable can be used to configure the locale used for database creation. Its default value is set to C.
|
||||
|
||||
The `PG_TRUST_LOCALNET` environment variable can be used to configure postgres to trust connections on the same network. This is handy for other containers to connect without authentication. To enable this behavior, set `PG_TRUST_LOCALNET` to `true`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user