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

Environment variables may be bug #154

Open
Tomorrowxxy opened this issue Aug 9, 2022 · 0 comments
Open

Environment variables may be bug #154

Tomorrowxxy opened this issue Aug 9, 2022 · 0 comments

Comments

@Tomorrowxxy
Copy link

I tried to define DISCOART_DEFAULT_PARAMETERS_YAML in the custom file myflow.yml, he is not effective

jtype: Flow
with:
  protocol: http
  monitoring: true
  cors: true
  port: 51001
  port_monitoring: 51002  # prometheus monitoring port
  env:
    ...

    DISCOART_DEFAULT_PARAMETERS_YAML: /opt/project/disco/default.yml
    DISCOART_DEFAULT_PARAMETERS_YAML: '/opt/project/disco/default.yml'
    DISCOART_DEFAULT_PARAMETERS_YAML: './default.yml'
    DISCOART_DEFAULT_PARAMETERS_YAML: ./default.yml

    `↑ None of them are valid`
    ...

Is there a mistake in the way I write? Or is it written in the wrong place?
How should I write it? Thank you!

@hanxiao hanxiao closed this as completed Aug 9, 2022
@hanxiao hanxiao reopened this Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants