Skip to content

Commit c0d84d8

Browse files
authored
Update README.md
1 parent c602181 commit c0d84d8

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Clone the repository, mount its directory as a volume into
2727
volumes:
2828
- ../docker-postgresql-multiple-databases:/docker-entrypoint-initdb.d
2929
environment:
30-
- POSTGRES_MULTIPLE_DATABASES: db1,db2
31-
- POSTGRES_USER: myapp
32-
- POSTGRES_PASSWORD:
30+
- POSTGRES_MULTIPLE_DATABASES=db1,db2
31+
- POSTGRES_USER=myapp
32+
- POSTGRES_PASSWORD=mypassword
3333

3434
### By building a custom image
3535

@@ -45,13 +45,14 @@ to the container:
4545
myapp-postgresql:
4646
image: eu.gcr.io/your-project/postgres-multi-db
4747
environment:
48-
- POSTGRES_MULTIPLE_DATABASES: db1,db2
49-
- POSTGRES_USER: myapp
50-
- POSTGRES_PASSWORD:
48+
- POSTGRES_MULTIPLE_DATABASES=db1,db2
49+
- POSTGRES_USER=myapp
50+
- POSTGRES_PASSWORD=mypassword
5151

5252
### Non-standard database names
5353

54-
If you need to use non-standard database names (hyphens, uppercase letters etc), quote them in `POSTGRES_MULTIPLE_DATABASES`:
54+
If you need to use non-standard database names (hyphens, uppercase letters etc), no quotes are needed with this fork:
5555

5656
environment:
57-
- POSTGRES_MULTIPLE_DATABASES: "test-db-1","test-db-2"
57+
- POSTGRES_MULTIPLE_DATABASES=radarr-main,radarr-log,sonarr-main,sonarr-log,bazarr,readarr-audiobook-main,readarr-audiobook-log,readarr-audiobook-cache,readarr-ebook-main,readarr-ebook-log,readarr-ebook-cache,prowlarr-main,prowlarr-log,jellyseerr
58+

0 commit comments

Comments
 (0)