You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker run argument for --network uses projectName and always appends _default. lib/invoke/local.js : line: 20
const network = func.projectName ? ${func.projectName}_default : ''
This doesn't play well with other local docker projects that have their own/shared defined network. This forces us to use the docker network defined by this plugin.
This is a Feature Proposal
Description
Docker run argument for --network uses projectName and always appends _default.
lib/invoke/local.js
:line: 20
const network = func.projectName ?
${func.projectName}_default
: ''This doesn't play well with other local docker projects that have their own/shared defined network. This forces us to use the docker network defined by this plugin.
What I propose
Add the following to the invoke function.
lib/invoke/local.js
:line: 20
And the following to the config parser in getFunctionConfig.
lib/config.js
:line: 18
line: 27
to thereturn Object.freeze({
Then the serverless.yml file will need a
network:
parameter added to it.Additional Data
The text was updated successfully, but these errors were encountered: