Options

Error linking to development database

masselja83masselja83 Posts: 2 New member
edited April 26, 2024 3:14PM in PostgreSQL
Hello! New Flyway Desktop/CLI user here. In trying to link to a development database (Provisioning method: Docker; Driver: PostgreSQL) I received the following error:

Database connection failed: Error reading resolver configuration for resolver docker
Caused by: Cannot deserialize value of type `java.lang.String` from Array value (token `JsonToken.START_ARRAY`)
 at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.flywaydb.provisioner.docker.DockerEnvironmentProvisionerConfigurationExtension["composeFile"])

This suggests there's an issue with my Compose file. The docker compose file that I am using is a multi-container app, and I reference only the postgres service. Thoughts on how I might fix this error?
Tagged:

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file