compose icon indicating copy to clipboard operation
compose copied to clipboard

Custom Compose File Name

Open jonioni opened this issue 2 years ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched existing issues, it hasn't been reported yet

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

jonioni avatar May 19 '23 11:05 jonioni

@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

medikoo avatar May 19 '23 12:05 medikoo

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

jonioni avatar May 19 '23 12:05 jonioni