Update DB_URL format in downloader#121
Conversation
|
Thanks for catching this. The direction looks right: the downloader is a Go service, so it should not receive a JDBC URL. Before merging, could you also update DB_URL: jdbc:postgresql://postgres:5432/typetype_downloaderso the same startup issue would remain in the dev/beta compose stack. One small consistency point too: after moving credentials into Expected shape would be something like: DB_URL: postgres://${DATABASE_USER:-typetype}:${DATABASE_PASSWORD:-typetype}@postgres:5432/typetype_downloaderapplied consistently to both production and dev compose files. |
|
Thanks for catching that missing update . And thank you for creating and sharing this tool. It works incredibily well for such a young software . i will be using this daily and will try to do my best to help when needed . |
|
Thanks for the update :) I added a tiny follow-up commit so we can avoid making you go back and forth again. It keeps both compose files consistent: the downloader now gets a direct Postgres DSN with Thanks again for spotting the downloader startup issue :p |
The DB_URL environment variable passed to typetype-downloader was using a JDBC connection string (jdbc:postgresql://...), but the downloader is a Go service that expects a standard PostgreSQL DSN (postgres://...). This caused the service to crash on startup.