File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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:
3333
3434### By building a custom image
3535
@@ -45,13 +45,13 @@ 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:
5151
5252### Non-standard database names
5353
5454If you need to use non-standard database names (hyphens, uppercase letters etc), quote them in ` POSTGRES_MULTIPLE_DATABASES ` :
5555
5656 environment:
57- - POSTGRES_MULTIPLE_DATABASES= "test-db-1","test-db-2"
57+ - POSTGRES_MULTIPLE_DATABASES: "test-db-1","test-db-2"
You can’t perform that action at this time.
0 commit comments