serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
110 stars 15 forks source link

Custom Compose File Name #182

Open jonioni opened 1 year ago

jonioni commented 1 year ago

Is there an existing issue for this?

Use case description

Is it possible to enable custom compose file name rather than serverless-compose.yml? Since services are specified in a unique top-level services property it seems this is very doable. Usage example:

serverless deploy --config services.yml

Since the normal serverless.yml supports custom config name, it feels that we should enable this for better consistency.

Proposed solution (optional)

Enable specifying a custom file name in replacement of serverless-compose.yml, e.g. with --config.

Related: #56

medikoo commented 1 year ago

@jonioni Compose is scheduled to be integrated into the Framework core, and then serverless.yml will be the default configuration, and --config will work same way as current it works for the regular service configuration.

Still, no ETA is known for this upgrade

jonioni commented 1 year ago

Thanks and good to know that this is on the roadmap!