Open Plecra opened 1 year ago
Thanks for reporting this issue! flyctl should give a better error message in that case.
And you are correct, services need to have unique internal_port. Removing the second duplicate [[services]]
block should fix the issue.
@tvdfly how should we proceed with this issue?
@redjonzaci look at internal/appconfig/validation.go
What I was able to undestand is that I should return a validation error if 2 services have the same internal_port
.
Is that correct?
kind of, it may need to take protocol and processes into account. go for it and see what makes sense.
I tested with the fly.toml
that @Plecra has provided. 🚀
Describe the bug With a duplicated service (I'm guessing it's the overlapping port?), deployment fails with a HTTP 504 and no details.