You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
# Using multiple databases with the official PostgreSQL Docker image
2
2
3
-
This fork merges [heliocastro:user_pass_improvements](https://github.com/heliocastro/docker-postgresql-multiple-databases/tree/user_pass_improvement)
3
+
This fork merges [heliocastro:user_pass_improvements](https://github.com/heliocastro/docker-postgresql-multiple-databases/tree/user_pass_improvement) with some slight tweaks to keep the user name the same as the database name.
4
4
5
5
The [official recommendation](https://hub.docker.com/_/postgres/) for creating
6
6
multiple databases is as follows:
7
7
8
-
*If you would like to do additional initialization in an image derived from
9
-
this one, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts under
10
-
`/docker-entrypoint-initdb.d` (creating the directory if necessary). After the
11
-
entrypoint calls `initdb` to create the default `postgres` user and database,
12
-
it will run any `*.sql` files and source any `*.sh` scripts found in that
13
-
directory to do further initialization before starting the service.*
8
+
> If you would like to do additional initialization in an image derived from
9
+
> this one, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts under
10
+
> `/docker-entrypoint-initdb.d` (creating the directory if necessary). After the
11
+
> entrypoint calls `initdb` to create the default `postgres` user and database,
12
+
> it will run any `*.sql` files and source any `*.sh` scripts found in that
13
+
> directory to do further initialization before starting the service.
14
14
15
15
This directory contains a script to create multiple databases using that
16
16
mechanism.
@@ -28,7 +28,7 @@ Clone the repository, mount its directory as a volume into
0 commit comments