You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.