Red5d / docker-autocompose

Generate a docker-compose yaml definition from a running container
1.76k stars 197 forks source link

Fix ERROR: network must be a mapping, not an array. #35

Closed ostafen closed 2 years ago

ostafen commented 2 years ago

Hi! First of all thanks for your great work.

I tried to use this library. However, I had several problems. I will open separate PR for each of them. This PR is meant to fix the error in the title. Networks was converted to a list before being passes to function render, but it should rather be a mapping.

alpex8 commented 2 years ago

Sorry this one goes on me, as I used set() when trying to avoid duplicated networks.