chore: handle x-caddy: path/to/Caddyfile to read Caddy config in compose from file

This commit is contained in:
Pasha Sviderski committed 2025-08-13 13:45:39 +10:00
1 parent 879c7c1876
commit ec73f9ecd8
5 files changed
+115 -12

No files matched your search

+4 -1
View File
@@ -46,7 +46,10 @@ func loadProjectFromContent(t *testing.T, content string) (*types.Project, error
return nil, err
}
// Apply ports extension transformation since we're not using LoadProject
// Apply extension transformations since we're not using LoadProject.
if project, err = transformServicesCaddyExtension(project); err != nil {
return nil, err
}
if project, err = transformServicesPortsExtension(project); err != nil {
return nil, err
}