Skip to content

St2chatops service does not read from environment variables #163

@sahilsk

Description

@sahilsk

Describe the problem

st2chatops service not honoring environment variables.

** Reproduce **

  • have hubot enviornment variables set in docker-compose file using env-file
  • login inside container and empty chatops/st2chatops.env file.
  • ConfirmEnvironment variables are set:
root@8708d935768e:/opt/stackstorm# echo $HUBOT_ADAPTER
slack
  • start chatops service sudo service st2chatops restart

** Error **

tail -f /var/log/st2/st2chatops.log

Must provide HUBOT_ADAPTER ENV variable to start.
See README.md for more information
Must provide HUBOT_ADAPTER ENV variable to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions