Describe how to create non-standard DB names

This commit is contained in:
Mart Sõmermaa 2017-12-16 12:29:05 +02:00 committed by GitHub
parent 00cde53f3d
commit caed6e9789
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,3 +48,10 @@ to the container:
- POSTGRES_MULTIPLE_DATABASES=db1,db2 - POSTGRES_MULTIPLE_DATABASES=db1,db2
- POSTGRES_USER=myapp - POSTGRES_USER=myapp
- POSTGRES_PASSWORD= - POSTGRES_PASSWORD=
### Non-standard database names
If you need to use non-standard database names (hyphens, uppercase letters etc), quote them in `POSTGRES_MULTIPLE_DATABASES`:
environment:
- POSTGRES_MULTIPLE_DATABASES="test-db-1","test-db-2"