Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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