Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to set profiles per service in stack definiton #150

Open
davemooreuws opened this issue Aug 17, 2021 · 0 comments
Open

Add ability to set profiles per service in stack definiton #150

davemooreuws opened this issue Aug 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@davemooreuws
Copy link
Member

davemooreuws commented Aug 17, 2021

Add the ability to set options like env and ports as a profile per service.

name: node-project
services:
  user:
    path: user
    runtime: function/nodets12
    profile:
      dev:
        env:
          - ENV='development'
          - NODE_OPTIONS='--inspect-brk'
        ports:
          - 9229
      prod:
        env:
          - ENV='production'

Command:
nitric run --profile dev

┆Issue is synchronized with this Jira Story by Unito

@davemooreuws davemooreuws self-assigned this Aug 17, 2021
@davemooreuws davemooreuws linked a pull request Aug 17, 2021 that will close this issue
@davemooreuws davemooreuws added the enhancement New feature or request label Aug 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant