Nicolas
Nicolas11mo ago

How to Incorporate MinIO with Windmill Docker Compose

Hi all, I am new to Windmill and docker in general, and I am trying to incorporate MiniO so I can do file uploads for images and other files, however, I cannot get this to work with the docker-compose provided by Windmill and the official docker-compose provided by MiniO here: https://hub.docker.com/r/bitnami/minio Attached is my docker-compose. I am getting the error:
windmill_server-1 | Error: Connecting to database: error communicating with database: failed to lookup address information: Name or service not known
windmill_server-1 | Error: Connecting to database: error communicating with database: failed to lookup address information: Name or service not known
All other containers are launching just fine, but the windmill-windmill_server_1 errors out with the above error and keeps restarting. Am I not assigning the proper linkage to MiniO to the correct service in the docker-compose? Any guidance on this would be great, not sure if I am thinking of this properly. Thank you!
4 Replies
Tiago Serafim
Tiago Serafim11mo ago
It looks like you've set up a different network for your server and that's why it can't find the database.
Nicolas
NicolasOP11mo ago
Yes I am confused on the purpose of this network, I saw MinIO uses it so I thought it needed that, and I figured that since the windmill server is also assigned to that same network that it should be able to communicate? Perhaps I need to have every service use that same network? I am thinking I will also just switch to S3 anyways
Tiago Serafim
Tiago Serafim11mo ago
I'm not sure why and if minio needs it, but if you're going to add, you must add to all Windmill services (and Postgres) otherwise they won't be able to connect to each other.
Nicolas
NicolasOP11mo ago
This makes sense, thank you, I will try to use Supabase's S3 alternative since I will be using it anyways for the DB

Did you find this page helpful?