Skip to content

Disable ACL or Auth using docker #204

Open
@dufourc

Description

Situation

This plugin manage both ACL and Authentication through http. One can be deactivated by commenting the unused options in the config file. However using emqx in docker (https://github.com/emqx/emqx-rel/tree/master/deploy/docker), the configuration are set from environment variables with no possibility to comment unused config.

Possible solution

Changing the way docker is setting variables to add a way to comment lines looks overkill and not the proper solution. (This is done here: https://github.com/emqx/emqx-rel/blob/master/deploy/docker/docker-entrypoint.sh#L122).

What do you think about having new variables to enable ACL and auth with a default value equals true? Something like this:

  • auth.http.auth_enabled = true
  • auth.http.acl_enabled = true

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions