Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Non-standard database names don't work as documented #26

@mhlmhlmhlmhl

Description

@mhlmhlmhlmhl

This section of the documentation does not work:

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"

On MacOS Ventura 13.0.1, that line is rejected with:

ERROR: yaml.parser.ParserError: while parsing a block mapping

... and IntelliJ says that line has syntax errors.

I ended up removing the quotes in that line and instead changing the script file to add double quotes around every reference to the $database variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions