cloud66-oss / starter

Helping you get started with containerized apps.
https://www.cloud66.com/opensource-software/
Apache License 2.0
311 stars 57 forks source link

Failed to write docker-compose.yml #33

Closed przbadu closed 8 years ago

przbadu commented 8 years ago

I am using latest version of starter 1.0.2 and getting this error:

Failed to write docker-compose.yml due to: template: docker-compose.yml.template:19:6: executing "docker-compose.yml.template" at <.Name>: can't evaluate field Name in type string
przbadu commented 8 years ago

Related isues: https://github.com/cloud66/starter/issues/32

przbadu commented 8 years ago

Looks like database section has an issue

foldingbeauty commented 8 years ago

please use version 1.0.3, because the changes in the docker-compose template are not backwards compatible.

przbadu commented 8 years ago

@kamerblauwlicht: thank you for your reply,

I tried https://codeload.github.com/cloud66/c66starter/zip/1.0.3 which is not working, also tried to download from https://app.cloud66.com/starter for Mac OSx, looks like both url are not working.

can you also let me know where can I find v1.0.3 starter kit?

foldingbeauty commented 8 years ago

@przbadu I added a ticket to our system to update the link @ https://app.cloud66.com/starter Thanks for letting us know.

starter 1.0.3: https://github.com/cloud66/starter/releases/tag/1.0.3

benwigley commented 8 years ago

@kamerblauwlicht I am also getting this issue. I'm trying to follow along with this article http://blog.cloud66.com/migrating-a-rails-application-to-docker/

None of the files found at https://github.com/cloud66/starter/releases/tag/1.0.3 did anything for me, is there a special way to use them? I tried opening them in terminal. Thanks.

foldingbeauty commented 8 years ago

hi @benwigley, which operating system are you using. Make sure you get the right one. For Mac use: https://github.com/cloud66/starter/releases/download/1.0.3/starter_darwin_amd64. For Windows use: https://github.com/cloud66/starter/releases/download/1.0.3/starter_windows_amd64.exe

foldingbeauty commented 8 years ago

@benwigley if you download for Mac, probably the executable doesn't have the executable flag. Please run: chmod a+x starter_darwin_amd64

benwigley commented 8 years ago

Thanks @kamerblauwlicht - permissions was the issue.