watchlistarr icon indicating copy to clipboard operation
watchlistarr copied to clipboard

Docker Compose missing config file

Open kymocode opened this issue 7 months ago • 2 comments

Anyone getting the following with docker compose up

[+] Running 1/0
 ✔ Container watchlistarr-watchlistarr-1  Created                                                                                                                                                                                       0.0s
Attaching to watchlistarr-watchlistarr-1
watchlistarr-watchlistarr-1  | 03:02:04.001 [io-compute-35] ERROR configuration.ConfigurationUtils$ - Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
watchlistarr-watchlistarr-1  | java.lang.IllegalArgumentException: Unable to connect to Sonarr at host.docker.internal:8989, with error java.net.ConnectException: Connection refused
watchlistarr-watchlistarr-1  |  at configuration.ConfigurationUtils$.throwError(ConfigurationUtils.scala:336)
watchlistarr-watchlistarr-1  |  at configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$5(ConfigurationUtils.scala:132)
watchlistarr-watchlistarr-1  |  at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-watchlistarr-1  |  at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-watchlistarr-1  |
watchlistarr-watchlistarr-1  |
watchlistarr-watchlistarr-1  |  at map @ configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$4(ConfigurationUtils.scala:126)
watchlistarr-watchlistarr-1  |  at flatMap @ configuration.ConfigurationUtils$.$anonfun$getSonarrConfig$4(ConfigurationUtils.scala:126)
watchlistarr-watchlistarr-1  |  at apply @ http.HttpClient.httpRequest(HttpClient.scala:41)
watchlistarr-watchlistarr-1  |  at fromFuture @ http.HttpClient.httpRequest(HttpClient.scala:41)

Your config file is located here

/var/snap/docker/common/var-lib-docker/volumes/watchlistarr_config/_data/config.yaml

Can this be automatically created next to the docker-compose.yml file?

kymocode avatar Jul 19 '24 03:07 kymocode